r/learnjava • u/aleesssa • Nov 25 '20
why do people hate java so much?
why do people hate java? I personally really love java because of the OOP paradigm and it makes my codes cleaner. not to mention the portability. but i swear I see more than one tweet hating on java everyday, or saying java is dying. is java really dying?
I guess I have two questions; why do people hate on java and is there still a future for java?
120
Upvotes
2
u/docssandra Nov 25 '20 edited Nov 25 '20
it's the #3 programming language on the TIOBE index, often considered the gold standard for program language rankings.
Not all developers post stuff on the internet, they just code, and therefore, what you hear online can often be misleading.
Spring Boot in particular has re-energized a lot of java devs and IMO has done a lot to modernize Java. Check out this graph from 2017:
https://redmonk.com/fryan/2017/06/22/language-framework-popularity-a-look-at-java-june-2017/
As to why people hate it, object-oriented programming isn't for everyone. Functional is popular again (yes, java is moving to address that as well, but it's not known for it.)
Also as a language, it doesn't move as fast as some other, more recently invented languages that might have better syntactic sugar, better this or that. great for companies who worry about backward-compatibility, but not always for devs who want built-in support for the most recent trend.
Personally, I believe that many java devs are backend focused, which can be a challenging domain in general. The library and framework the ecosystem is huge, which can be amazing (choice, opportunity) and also daunting (overwhelming number of choices/options.)
Also I agree with u/PsychedelicPistachio 's comments below.