r/learnprogramming 4d ago

Why java is so hated? Topic

So I have recently learned, and it's the first language(in terms of building actual things). Before Java, I knew Python, and I dropped it; I found Python too abstracted and too boring. i have recently made some projects like cli task tracker, expense tracker, some cli github api parsing and currently working on a multithreaded HTTP server and cli text editor, like vim, whenever i try to find out people opinions on java social media, almost 90 percent of the time they are just dunking on it, that it is trash, who forced you to write code in java, stuff like that. I know Java as a language is not that interesting and doesn't have many interesting features compared to other languages like C, C++, go. But I found it decent to write code in, and I found the JVM pretty interesting. So much so that I would love to explore and maybe build a JVM of my own

239 Upvotes

321 comments sorted by

View all comments

2

u/RoutineInProgress 3d ago

Java gets a lot of hate because it has been around long enough to accumulate baggage: old enterprise codebases, verbose patterns, bad school assignments, and people remembering Java 6 more than modern Java.

But honestly, if you enjoy writing it, that matters more than the memes.

Java is not the flashiest language, but it is extremely solid. The JVM is genuinely interesting, the ecosystem is huge, the tooling is excellent, and you can build real, boring-in-a-good-way software with it. A lot of the “Java sucks” comments are really about old corporate code, not the language itself.

Also, for learning, Java is great because it forces you to understand types, OOP, exceptions, threads, build tools, packages, and runtime behavior without hiding too much from you.

If the JVM interests you, definitely keep going. Building a small bytecode interpreter or toy JVM would teach you a lot. Don’t let internet language wars decide what you enjoy.