TipMatching multiple enum cases with associated valuesswitch statementspattern matchingPublished on 12 Sep 2018
TipAvoiding default cases in switch statementscode structureswitch statementsPublished on 22 Mar 2017