7 ms·
It’s not like “enum” and “mut” are complete English words either, so maybe an abbreviation like “tun” could have worked. But honestly I think enum was a better
by pavlov 3y ago
It’s not like “enum” and “mut” are complete English words either, so maybe an abbreviation like “tun” could have worked.
But honestly I think enum was a better choice.
- LoganDark 3y agoI personally think enum was basically the only reasonable choice, as normal enums really are just a subset of tagged unions. They just happen to support tagged unions on top of them.