I never claimed my example to be equivalent to a switch statement, was just presenting it as a way I've organized my code to avoid using if/else blocks, etc. in case it was helpful to anyone.