3 ms·
> How often do you use a 'switch' statement whose cases don't always end in 'return' or 'break'? I do, occasionally. I prefer the inverted golang switch where
by ioddly 8y ago
> How often do you use a 'switch' statement whose cases don't always end in 'return' or 'break'?
I do, occasionally. I prefer the inverted golang switch where fallthrough needs to be specified, since these cases (heh) are generally the minority.