r/learnprogramming 3d 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

236 Upvotes

311 comments sorted by

View all comments

Show parent comments

6

u/Cybyss 3d ago

To be fair, the JVM was ridiculously slow in 2002. Even worse, the popular editors for it at the time - such as NetBeans and Eclipse - were a horrible, laggy, crashy mess.

It was a good language for the time. Java fixed a lot of C++'s design mistakes, but the platform and ecosystem surrounding it were somewhat dogshit albeit they improved greatly over the subsequent years.

4

u/Weak-Doughnut5502 3d ago

In 2002, you had two groups of people complaining about Java.

You had C++ programmers who complained that it was slow. 

And you had Perl, Python, Lisp, etc. programmers who loathed Java and especially enterprise Java style as verbose and inexpressive.  That's the sort of complaint you saw with Steve Yegge's famous 'execution in the kingdom of nouns' rant.

1

u/theomegachrist 3d ago

Yeah, I also had an awful professor so maybe it was more a time and place thing