3 ms·
"C++ calls it variant." "OK, let's not go with that then" "C calls it union" "OK, we DEFINITELY can't call it that"
by binary132 3y ago
"C++ calls it variant."
"OK, let's not go with that then"
"C calls it union"
"OK, we DEFINITELY can't call it that"
- mattstir 3y agoRust already has things called unions, which are C-style unions. Using the same word for two different things would definitely have been more confusing, not less...