3 ms·
I think I have much more problem with the idea that table_enum is "proper enums" than with the choice to name Rust's sum types enum. Because Rust is a low bit-
by tialaramex 3y ago
I think I have much more problem with the idea that table_enum is "proper enums" than with the choice to name Rust's sum types enum.
Because Rust is a low bit-banging language, union needs to exist, which I think rules out calling enum "tagged unions" even if that's one possible way to look at the implementation. In a high level language which lacks union types this wouldn't an issue, but Rust is not that language.