4 ms·
Did you read the context?
by liontwist 2y ago
Did you read the context?
- cma 2y agoNo I read wrong and missed it. If all four states are actually possible an enum can still be a win if you have a compiler that can check for exhaustive switch case statements. Or especially if updating a system where it used to be only three were valid and now something changed so that all four are.