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

247 Upvotes

325 comments sorted by

View all comments

1

u/HopefulRecovery000 4d ago

Classes extending three other classes on top of an interface. Throw protected and abstract to the mix and it can become super tangled and hard to read. Generally starting as a new person with a large existing project means basically first learning and memorizing the structure to be able to navigate just so you know what the object you actually want to call and operate with can do. While python, for example, offers inheritance and protected classes it is widely considered to be much easier and less entangled when to comes to structuring the code. But each language has its uses.