Hacker News new | ask | show | jobs
by hombre_fatal 52 days ago
You can encode so much design and intent in the Rust type system. It’s one of the best things about Rust.

I prefer to write Go if I were doing everything by hand. But now everything is Rust. And a quick scroll through my Rust types, the discriminated union types, the discriminated error types, the high level application types, it’s just so much better for spec’ing out a system and leaving no question about what some bit of code is trying to do and the states it’s trying to prohibit.

And with an LLM, the hard things about Rust that would’ve had me asking questions on IRC are not hurdles anymore.

Granted, it has its own cultural NPM/RubyGem dep spam problem when you watch cargo install’s output.