DEV Community

Discussion on: Stop using if else

Collapse
fjones profile image
FJones

Are we just going to skip over the fact that switch exists? Lookup maps have neat uses, sure, but declaring a best practice for something without mentioning the intended language construct for it is a bit silly.

Some comments have been hidden by the post's author - find out more