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
 
brandonskerritt profile image
Autumn

I use Switch statements a lot for mundane things, such as this:

a: 1
b: 2
c: 3
d: 5
e: 8

and so on but that's about it