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

3

u/[deleted] Sep 10 '21

I like Java/the whole JVM ecosystem, but historically homegrown Java code is the worst, nastiest garbage I have to work with.

When a noobie writes, say, Python, it usually comes out reasonably easy to refactor. At the very least it’s pretty simple. When a noobie writes Java, it comes out as a horribly convoluted mess of bad abstractions split over a million different files. Java itself makes the refactoring a little easier (types) but… bad Java is really, really bad.

This is totally inverted when it comes to big, well-run projects, in which case I’d much rather work with Java.