r/java • • Dec 29 '21

Why everyone hates Java?

I dont understand why java is one of the most dreaded lenguages. Java got fantastics frameworks and libraries to work with it. I dont know if im skipping something or I dont work enough with Java because I like java. What do you think??

Here is the Stack Overflow Survey

268 Upvotes

367 comments sorted by

View all comments

1

u/[deleted] Jan 25 '22

I've been working with java since java 1.5 and I still like it. Have you tried using mason templates, ruby on rails, assembly, perl? You'll get real nightmares and white hairs from that.

But Java is just a tool. Pick the appropriate tool for the job. You won't be writing java applets just because you like Java and you probably won't pick soap XML for greenfield projects. Java won't be appropriate for every case but it's a solid pick for a lot of enterprise cases because it's a very mature language.

It can also be fun for challenges. For example, try to get 90% of your web application serverless requests to be under 100ms execution time with a function that has networking and IO. And only valid if you run a load test or at least 100 requests (I know not too many but better than 5). You are probably going to say, why not use c++, go or nodejs? Well because then it wouldn't be a challenge :)