3 ms·
break <something> should not be return <something>. What if you actually want to return something from within a switch? More to the point, what about existing
by earenndil 9y ago
break <something> should not be return <something>. What if you actually want to return something from within a switch? More to the point, what about existing code that uses return in a switch statement.
- nikolay 9y agoThat would be a terrible coding practice!