3 ms·
Except that enumerations are not just "strings as magic numbers". Rust's enumerations (and others) enforce that all the enumerations are dealt with in the matc
by rswail 7y ago
Except that enumerations are not just "strings as magic numbers".
Rust's enumerations (and others) enforce that all the enumerations are dealt with in the match (a superclass of switch, mixing metaphors).