2 ms·
It’s a standard technique in C... Also, it produces tons of false warnings when you try to enforce exhaustive switch-cases on enum values.
by tzahola 9y ago
It’s a standard technique in C...
Also, it produces tons of false warnings when you try to enforce exhaustive switch-cases on enum values.
- aphextron 9y ago>Also, it produces tons of false warnings when you try to enforce exhaustive switch-cases on enum values. Dispatch tables are the way to go. Nested switch statements turn into a nightmare. https://babbage.cs.qc.cuny.edu/courses/cs200/dispatch.html https://babbage.cs.qc.cuny.edu/courses/cs200/dispatch.html