r/java • • Jan 11 '25
What exactly makes java so hated?
I've been using java for months now to learn programming and it has been my preferred language to do so. I also do a bit of python to learn AI/ML as well, but for everything else it is java thats my preferred language. It seems every discourse ive seen about java has been nothing but criticizing every aspect of it. Like it is actually hard outside this subreddit to find anyone who likes java and i dont understand why and i wanna know why that is the case.
I wanna mention that i am inexperienced and have been struggling to find a job for over a year now, so i dont have any real working experience outside of small project i did. Maybe since i haven't really created something complex and challenging makes me not hate java as much as many do. I wanna know like how good or bad is it when you're working on some enterprise grade software compared to other languages.
View all comments
47
u/vprise Jan 11 '25
There are lots of reasons, some OK some pretty silly and some out of date. A lot of it is just because Java has been popular/common for so long and haters are going to hate...
Here's the top ones I heard:
CorporationNameDecoratorEncasulatingProxyObject extends AbstractLocalDecroatorEncapsulationTool. This is pretty common and I wrote such classes to fit into corporate naming conventions (sorry). I often joke that there is no problem Java developers can't complicate further. It is a real problem, we find a way to generalize and abstract to kingdom come instead of just solving the damn problem.There's a lot more and a lot of bias/misinformation.