3 ms·
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.
by nathanlaan 16y ago
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.