ParentFull threadmnarayan01·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.View on HN