3 ms·
> Algebraic Data Types are almost always one of the things I miss when I use imperative languages. Algebraic data types and pattern matching actually work real
by eru 3y ago
> Algebraic Data Types are almost always one of the things I miss when I use imperative languages.
Algebraic data types and pattern matching actually work really well in imperative languages, too. See eg Rust.