246
Go vs Rust learning (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] ace@lemmy.ananace.dev 62 points 1 year ago

Go really does do well in the zero-to-hero case, that's for certain. Unfortunately it doesn't fare nearly as well in terms of ease when it comes to continued development.

[-] z3rOR0ne@lemmy.ml 17 points 1 year ago

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

[-] firelizzard@programming.dev 2 points 1 year ago

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.

[-] Feathercrown@lemmy.world 17 points 1 year ago

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@programming.dev 12 points 1 year ago

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

load more comments (3 replies)
load more comments (6 replies)
this post was submitted on 15 May 2024
246 points (88.4% liked)

Programmer Humor

24834 readers
843 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 2 years ago
MODERATORS