|
|
|
|
|
by umanwizard
605 days ago
|
|
Rust is the only mainstream language with an ergonomic modern type system and features like exhaustive matching on sum types (AFAIK... maybe I'm forgetting one). Yes things like OCaml and Haskell exist but they are much less mainstream than Rust. I think that's a big part of the appeal. In Go instead of having a value that can be one of two different types, you have to have two values one of which you set to the zero value. It feels prehistoric. |
|