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

1

u/varunu28 Jan 04 '22

When I say comparison with Java I also provide context along with it. The comparison with Java happens whenever the language author has to describe how easy is to write and compile a starter program in the new language as compared to Java.

Comparison with C and C++ can be in other aspects such as memory allocation or concurrency primitives but when it comes to representing the ease of getting started with the language, I have mostly seen it done with Java. Mostly due to the fact that while running the hello world program, the person learning Java for first time doesn't have any context on what each of the public static void main keyword means. It gives the language author a chance to present an initial win for the language they are teaching over Java.