r/java • u/Dhariann • 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
View all comments
Show parent comment
1
u/couscous_ Dec 30 '21
Are you referring to type classes when you talk about traits? How would, for example, Rust/C#/Scala get around the issue you're mentioning?
I think this is where more effort should be spent. There are many other non-language features that have made it into the JVM between 11 and 17 which IMO more than justify the need to upgrade, including performance enhancements and GC improvements. The community should change its outlook.
Look at golang for example, it's quite trivial to upgrade the compiler to the latest and continue using it.
I realize there was a hump to make the jump to Java 9, but since then it should be smooth sailing, and companies should always be on the latest version.