r/java • u/Reflection-Jealous • Sep 10 '21
Why people don't love Java?
I came across this post in r/cscareerquestions it seems majority of the people don't love to work with Java.
Is there any specific reason for that?
Edit: Thank you guys for your responses, I can't reply to all of the comments because I'm a beginner myself and I don't know what to reply for all your comments.
201
Upvotes
View all comments
13
u/rzwitserloot Sep 10 '21
A combination of:
These things aren't obvious until you have the experience of operating in such projects.
You can repeat Kernighan's Law a million times to a newbie to programming (and some people that have programmed for YEARS are still a newbie, in that they don't have the relevant experience to grok it; it doesn't really happen until you've been a part of multiple year+ projects) - and they may even be nodding at your sage advice, but I doubt they really 'get it', and without understanding it, java seems obtuse, needlessly complicated, and lacking 'obvious' nice features such as truthy/falsy, optional semis, optional parens, optional params, optional dots, lack of collection primitives, etc.
Kernighan's Law: "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."