2014-04-26 17:17 GMT+02:00 Steven D'Aprano <steve@pearwood.info>:
Also, folks might like to review the wide range of semantics and syntax
for switch/case in different languages:

http://rosettacode.org/wiki/Conditional_Structures

you’re missing the language calling this “pattern matching”: http://rosettacode.org/wiki/Pattern_matching

i especially like scala’s way of doing it (even while recognizing that it’s no good fit for python)