DEV Community

loading...

Discussion on: A Case Against Switches

codevault profile image
Sergiu Mureşan

For embedded I can see that limitation and that switch could look much more readable since you're mostly working with numbers (integers, addresses etc.) instead of more complex structures (objects, strings etc.)