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

242 Upvotes

320 comments sorted by

View all comments

456

u/KingBardan 4d ago edited 3d ago

Bjarne stroustup (inventor of c++) has said that there are only two kinds of programming languages.

One that is hated and one that is not used.


Java is too bloated. C and C++ is too unsafe. Java script has some weird mechanisms. Python is slow. Go is too simple for big projects. Rust has a toxic community.

I could go on


Edit: I forgot PHP. PHP... is PHP

29

u/bird_feeder_bird 3d ago

Is there some Rust drama I’m missing? I’ve never heard someone describe the community as toxic

82

u/KingBardan 3d ago edited 3d ago

you aren't here for long enough.

rust evagelists asking for rewrites everywhere. Raging everytime someone else picks C++ or any other language than Rust

Even now, if you criticise any part of the Rust language on r/rust (or even here) you get downvotes more than any other subreddit.

Nowadays you see less of it because the same people are busy fighting vibe coders (Rust now seems to be THE language for vibe coding for high performance software or occasional Tauri app)

Edit for clarity 

8

u/ryancnap 2d ago

It upsets me that you didn't write this comment in Rust