3 ms·
> Any context where you would want "if x == this, goto here; if x == that, goto there" is a potential place to use the switch statement. Only if "here" and "th
by dllthomas 10y ago
> Any context where you would want "if x == this, goto here; if x == that, goto there" is a potential place to use the switch statement.
Only if "here" and "there" are later on in the same block.