2 ms·
I've been wishing for Rust to become more ergonomic, what ergonomics does Rust currently have that other languages lack?
by giancarlostoro 10mo ago
I've been wishing for Rust to become more ergonomic, what ergonomics does Rust currently have that other languages lack?
- Null-Set 10mo agoI love how everything is an expression with a value. And match expressions are quite nice, especially with the option type. I really miss those when working in javascript.
- zeroxfe 10mo agoIf Go had rust-style ADTs and pattern matching, and some parallel of "?" to short-circuit error handling, I'd be thrilled.
- accelbred 10mo agoFor me its everything being an expression, macro_rules, dyn, automatic conversions (the few that it does have), traits, and the ? operator.
- masklinn 10mo agoAffine types / destructive moves, type-level safety signal (sync/send), container-type locks. I really miss these when doing concurrent stuff in other languages.
- maxbond 10mo agoTo add to the sibling comments, a world-class LSP enabling you to get a great experience in any editor/IDE out of the box. This is not at all exclusive to Rust of course, most strongly typed languages have one at this point, but I've been working in Python lately and this is what I miss the most. (I'm using an LSP in Python, but it isn't as good at the best of times, and it seems like no matter how many times I fix it's configuration it's broken again the next day.)