loading...

re: I've never become overly convinced that switch statements are that much cleaner than `if else if else if else if else` VIEW POST

FULL DISCUSSION
 

They are different, switch (or case) is a Multi-Branch flow.
Compiled languages can optimize switch a lot more than if.

Code of Conduct Report abuse