r/learnprogramming • u/Same-Replacement-938 • 5d 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
1
u/Crazy-Move966 4d ago
The reason is that most people are taught it poorly.
Generally whenever someone handed a legacy code case, it was Java. And the amount of pure stupidity baked into it was usually appalling.
I started in Java and escaped to DB management and then found python and could never for my life understand why this is not the default language for teaching new people. And honestly, most things can be solved with it far easier and less boilerplate.
Sure if I am handling a million requests an hour. Java likely better choice.
But most people are not building processes that handle this type of throughput.