Re:Migrating from Go to Rust
by jon_richards on Monday May 25, 2026 @05:39AM
(#48265039)
And := not being = can really matter for variable shadowing.
Absolutely insane syntax choice in a language where everything returns 2 values. At least do var:, err: =
Compared to Rust, Go as a language requires a lot more effort to review. You have to be on the lookout for basic gotchas like not checking if a pointer is nil, placing `defer` in the wrong place, using a result when err isn't nil, and so on. Plus, diffs are messier because unused variables are a compilation error, and _, err := can change into _, err = solely due to new lines above.