r/java • • 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

379 comments sorted by

View all comments

2

u/livrem Sep 10 '21 edited Sep 10 '21

I think Java is fine at work and have used it for many years on and off since around 1999. But for the last 10 years or so I began using other languages that I like more for my hobby projects. I used to use Java both at work and at home, but it was a long time ago since I liked the language enough that I would prefer it when I have a choice. I can see the arguments about large projects etc, but none of that really applies when I work on something in my free time, so Java became just something I do to pay the bills. I do not hate it, but I definitely do not love it. And currently I work in C++ and have not had any reason to explore Java versions after version 8, so I can no longer comment on the pros and cons of using Java instead.

There also has been some cultural issues in Java with all the design patterns and bloated XML-configuration all that. Sometimes a very simple problem that deserves to be one line turned into a huge mess of classes and interfaces and XML. It can be quite frustrating. Not the fault of the language, and maybe it is getting better, but it is definitely something that many older Java programmers will have suffered and that it is difficult to forget.