DEV Community

Discussion on: I've never become overly convinced that switch statements are that much cleaner than `if else if else if else if else`

Collapse
 
sergix profile image
Peyton McGinnis

Ah, true. I'm an idiot.

But for me, I still prefer the inline look of the switch statement. Again it's up to preference though.