DEV Community


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

moopet profile image
Ben Sinclair

Generally I think people are trying to move away from functions that have a lot of conditionals, so it's probably not going to become more common.

Thread Thread
jmdejager profile image
🐤🥇 Jasper de Jager Author

good point, not a fan of them myself 😉

Forem Open with the Forem app