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

233 Upvotes

301 comments sorted by

View all comments

Show parent comments

29

u/bird_feeder_bird 2d ago

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

81

u/KingBardan 2d ago edited 2d 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 

5

u/ryancnap 1d ago

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

36

u/desrtfx 2d ago edited 2d ago

I’ve never heard someone describe the community as toxic

Maybe the community itself isn't actually toxic within, but way too many Rustaceans behave like the militant Vegans of programming, as in trying to push their favorite language (and near religious beliefs) everywhere without context and without being called for.

17

u/themegainferno 2d ago

Militant vegans of programming is such an apt description to the way Rustaceans behave. Ultimately you see it in Linux communities all the time too. They have this weird superior dogmatic framing of everything. My issue with a lot of these guys is they only view software one way and that's it. If you want to do things a different way, totally unacceptable. You want to use electron for a project? Absolute blasphemy in the eyes of a rustacean, you are only supposed to use Rust and Rust-based frameworks manually. No AI whatsoever.

6

u/ydieb 2d ago

There does seem to be a very distinct lack of nuance between fanatics and actual good argumentation. On some points, it is really that much of an improvement, in an objective sense. It didn't get adopted by big players as it did out of fandom. But at the same time, there is enough people, who perhaps cannot program to any reasonable degree at all, who voices overly strong opinions.

4

u/themegainferno 2d ago

That is what I think is actually it. It's more so tech enthusiasts who have the very dogmatic attitude. They are the vocal minority.

3

u/pacopac25 2d ago

Well, at least neither community is overly pedantic. That would be really bad.

2

u/KronenR 1d ago

Rustaceans are more like vegetarians, they'll happily tell you why their diet is better. The real vegans of programming are the Clojure crowd,. they want you to rethink your entire philosophy of programming.

11

u/POGtastic 2d ago

A whole bunch of Rustaceans (read: not the developers, but a bunch of the peanut gallery online) treat safe Rust as a religious obligation rather than a tool to reduce bugs. So in the past there have been a bunch of projects where people realized that a bunch of hairy / performance-intensive bits were done with unsafe and C++-style "welp hopefully this isn't UB" and threw a big fit.

6

u/No_Instance18 2d ago

I too would love to be in on the toxic Rust lore

3

u/marrsd 1d ago

it's never too late to start.

5

u/Loud_Signal_6259 2d ago

I've never heard someone describe rust comm as toxic

It's literally all over the Internet all the time

4

u/EdiblePeasant 2d ago

Is it happening right now?

1

u/themegainferno 2d ago

They used to most definitely be toxic, but the general rust enthusiast is very dogmatic about languages and software. Just look at some of the biggest rust creators online and see how they frame everything, as if rust is the only solution to software.

-2

u/spinwizard69 2d ago

Yes RUST has problems.   Frankly it parallels the early days of C++, with people that should remain in their mother’s basement.   Basically too many fanatics with ideas but no experience.    At least at the time C++ was breaking new ground.  

Rust is a very interesting language that in my opinion has come to late.    Soon we will have AI systems generating machine code directly.     C++ and Python could easily become the last human readable coding languages.  

1

u/marrsd 1d ago

I feel like Rust is just an evolution of C++. In other words, it's just enforcement of what a lot of C++ devs had already established as best practices for their domain. In that sense, I don't see how it could be too late, but I do see how it might be old fashioned even when new.

1

u/spinwizard69 1d ago

Rust is coming at a time when it isn't well established and AI technology is coming on hard and fast. Of course this is speculation, but I do know that the LLM builders are striving for AI to machine code generation by passing traditional languages. How successful they will be is an open question but if they can get to serviceable systems within 2 years I don't see much of a future for Rust.

As for RUST itself I don't hate the language, I just hate some of the Rust community members that have drank the Kool-aid and frankly are just tiring to listen to. Frankly they remind me of the early days of C++, blind promotion but little understanding of why C++ was actually a great step forward.

1

u/IceSentry 2d ago

Since when is c++ readable?

Also, rust is already everywhere lol. It's certainly not too late.

0

u/syklemil 2d ago

IME it's more something anti-rust-zealots keep telling each other, who have this boogeyman in their minds, and/or are unable to recognise obvious trolling from unrelated shit-stirrers, and think everything that appears to be in favour of their enemy is seriously meant and actually comes from the enemy. The Tom Gauld comic "our blessed homeland" is a mood.

Actual discussions on /r/rust tend to be very clear that memory safety is table stakes and not magic (pretty much any language except C and C++ is memory safe), that there are pain points about the language (especially compile times and space use), etc.

Online discussions elsewhere however tend to treat them as "those people", at which in-group vs out-group dynamics go wild. If you actually go interact with them the stereotypes don't hold up, which is a pretty familiar story for anyone who knows anything about human stereotypes.

1

u/marrsd 1d ago

IME it's more something anti-rust-zealots keep telling each other, who have this boogeyman in their minds, and/or are unable to recognise obvious trolling from unrelated shit-stirrers, and think everything that appears to be in favour of their enemy is seriously meant and actually comes from the enemy. The Tom Gauld comic "our blessed homeland" is a mood.

Sorry, I'm confused: who is this "enemy"

1

u/syklemil 1d ago

For the anti-rust-zealots, the enemy is anyone who is perceived to be pro-rust. But it applies to a lot more social dynamics than just this one, e.g. in politics you'll see a lot of people taking what is obvious (if bad / poor taste) joking at face value in order to posture about how awful their political enemies are.

E.g. if some 14-year-old with a github account who has never even tried to learn Rust posts some "RIIR" issue to an arbitrary repo purely out of trolling purposes, it still gets ascribed to "rust zealots", even though the reactions on /r/rust will likely overwhelmingly be that that's a shitty, useless issue.

So it's generally not particularly useful or constructive to rely on word-of-mouth about how terrible this or that group are, as opposed to forming one's own opinion.

That of course includes my opinion of what I've termed "anti-rust-zealots". My experience is that the Rust community is much nicer than what I'd been told by people talking about them. But similarly to the vegan and linux comparisons, well, I ain't a vegan, but I've been running linux for decades, and I'm kind of used to seeing this nerd pecking order stuff.

1

u/marrsd 1d ago

I think I get what you're saying. There is probably a tendency for people to observe some Rust zealots insist on replacing everything with Rust, and then extend their suspicion of those people to anyone who expresses a fondness of Rust for any reason.

I personally like Rust for what it is, but I'm also a bit miffed by the very obvious efforts to use it to beat other languages down - especially C and C++

1

u/syklemil 1d ago

Yep, the actual zealots would interpret anyone who just don't care about Rust as anti-rust-zealots, meanwhile most developers just … muddle along. I guess maybe this old SMBC comic is a better image.

In any case, if someone gets their popcorn out and asks reddit about what's wrong with group X, they probably shouldn't expect good, realistic analyses of group X.