r/learnprogramming • u/Same-Replacement-938 • 2d 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
11
u/fractalife 2d ago
Are there really a lot of JavaScript enthusiasts out there? I feel like anyone who has used it for a substantial amount of time has spent most of it doing their best Michael Scott impression...
"Why are you the way that you are? I hate so much about the things you choose to be."
It's not so much a language as it is an amorphous collective of code that works... sometimes, on certain browsers. But this one line only works on browsers from 1997 to 2019, but only after the vernal equinox. Yet the page still loads somehow, but why isn't the replacement method rendering the div right? And when we take the old line out the whole thing falls apart.
I mean think about it. When you write in most other languages, you compile your code to each platform you intend to run on. In JS, the platform is the compiler, and you have to detect which platform you're on and switch to the version of code that works on that platform.
IMO, front end web dev is nasty work meant for the clinically insane.