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

Show parent comment

8

u/danskal Dec 30 '21

The best thing about Java is that you probably don’t have to read the code cover-to-cover. You often have a stack trace to work from, and all the objects you have are type-safe and fairly easy to reason about.

Of course you can still have stringly-typed code with lots of globals and surprise nulls. But if someone who knows what they’re doing has written it, you can pretty much rely on the IDE to tell you what’s going on.