3 ms·
I think switch blocks are only worth it when you have 2 or more `else if`, otherwise a normal `if` is more readable IMHO.
by knocte 9y ago
I think switch blocks are only worth it when you have 2 or more `else if`, otherwise a normal `if` is more readable IMHO.