this post was submitted on 13 Nov 2024
816 points (96.2% liked)

Greentext

4387 readers
1161 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ilovethebomb@lemm.ee 74 points 2 days ago (60 children)

Can anyone who's actually dealt with Java tell me how much Anon is exaggerating?

[–] chunkystyles@sopuli.xyz 26 points 2 days ago (9 children)

I've been programming in Java professionally for 11 years. It's not just embellishment, it's outright lying.

Threads giving you race conditions? All concurrent programming will do that if you're shit at it.

Java has come a long way. I will admit that UI in Java is terrible. I would never do that.

[–] SorteKanin@feddit.dk 3 points 1 day ago (4 children)

Threads giving you race conditions? All concurrent programming will do that if you’re shit at it.

Well, if you write Rust then there won't be race conditions.

[–] chunkystyles@sopuli.xyz 1 points 1 day ago (1 children)

Rust is great, and I truly mean that. But saying you can't get race conditions in Rust is just not true.

And also, not everything is going to be written in Rust. When the company you're working for needs a web application quickly, that's better done in other languages.

And also also, Spring has a lot of niceties when it comes to concurrency that make this much less of a point.

[–] SorteKanin@feddit.dk 2 points 1 day ago

You can't get data races at least, and in practice it's very difficult to get actual race conditions.

load more comments (2 replies)
load more comments (6 replies)
load more comments (56 replies)