If/else vs switch/case pattern matching A look at if/else, switch/case, pattern matching, other options ... and which is best. (spoiler: none ;) )