DEV Community


Discussion on: If (all) else is complicated, switch to switch?

juanfrank77 profile image
Juan F Gonzalez

I think it's worth using. In fact, in the previous enterprise-level project I worked on, 'switch'es were the most prevalent for handling several conditions. If/else's were seldom used.

Forem Open with the Forem app