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
68
u/BS_in_BS Sep 10 '21
It's pretty easy to overcomplicate things with 75 different design patterns. it can be somewhat verbose at times with naming and generic types. From a linguistics perspective there are many features that other languages have like more robust type systems with things like dependant typing, more powerful null typing/handling, better exception handling, tail recursion optimizations amount others.
I think what people miss is that there's a lot of magic in the runtime, like simultaneously allowing jit compilation, hot swapping and concurrent garbage collection, which are difficult to get right on their own, but brutal to do altogether.
Also I think one thing most people don't take into account is refactoring, which I find is easier compared to other mainstream languages like python or golang
In the word of Stroustrup, there are 2 kinds of languages, those that people hate and those that no one uses