this post was submitted on 15 May 2024
246 points (88.4% liked)

Programmer Humor

19701 readers
151 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 6 months ago (5 children)

I'm a beginner in both (heavily leaning towards putting more time into learning Rust though). Could you please elaborate a bit?

[–] firelizzard 2 points 6 months ago (2 children)

Ananace and the article they linked are using their dislike of Go to conclude that it’s a bad language*. It is not a bad language. Every language has hidden complexity and foot guns. They don’t like Go. Maybe you won’t like Go. That’s ok. But that doesn’t make Go a bad language. The language designers are very opinionated and you might dislike them and their decisions.

I haven’t used Rust but from what I’ve seen, it’s a lot less readable than Go. And the only thing more important than readability is whether or not the code does what it’s supposed to do. For that reason I doubt I’ll ever use Rust outside of specific circumstances.

*I’m using “a bad language” as shorthand for “a language you shouldn’t use”. Maybe they don’t think it’s bad but amounts to the same thing.

[–] [email protected] 17 points 6 months ago (1 children)

And the only thing more important than readability is whether or not the code does what it’s supposed to do.

Isn't that exactly what Rust is supposed to be good at

[–] arendjr 12 points 6 months ago

And conversely, something Go is very bad at. For example, os.Chmod silently not doing anything on Windows.

load more comments (2 replies)