2 ms·
I use switch statements all the time for state-machines. There are linters that will warn on fallthrough; you should use one of them.
by aidenn0 4y ago
I use switch statements all the time for state-machines. There are linters that will warn on fallthrough; you should use one of them.