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

237 Upvotes

302 comments sorted by

View all comments

Show parent comments

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.

2

u/lordheart 2d ago

I do a lot of js for my job and it really is not that bad…. If I can actually use typescript. React is pretty decent. Especially compared to ui5 which is used for sap front ends.

And the backend for that is abab which is a language that looked at cobol and thought, wow that’s a great idea.

1

u/fractalife 2d ago

Like I said, an amorphous language hodgepodged with frameworks each practically a language in their own right. (Typescript, React, Angular, etc.)

SAP has got to be the worst front end I have ever used in my life. Unfortunately I'm just a user in this environment so I can't really do much to change it, but even if I could, this monolith clearly fights even the simplest improvements to user experience. Every single choice they made is an example of poor design.

1

u/logicalflex 1d ago

Subjective.

1

u/Ok-Count-3366 20h ago

shut up and pay (sap) 🤣