4 ms·
Consider static type checking when adding a new value to the enum. If the switch has a default, then obviously you lose this, but it's nice for the others.
by mnarayan01 9y ago
Consider static type checking when adding a new value to the enum. If the switch has a default, then obviously you lose this, but it's nice for the others.