in reply to Nested Switch case

Best rule-of-thumb is... never worry about what is “faster.”   Make it, instead, “abundantly clear and easily maintainable.”   In these days of blisteringly-fast CPUs, nothing else really matters.

Switch seems to be regarded as badness because it does its work by playing games under-the-hood with the source code.   When it breaks it is hard to figure out, and it really doesn’t bring anything new to the table.