Agreed. There are likely cases where using a switch statement is not the optimal approah, but IMO saying that you should never use it over-generalizes.
Agreed. There are likely cases where using a switch statement is not the optimal approah, but IMO saying that you should never use it over-generalizes.