3 ms·
I often wished for a multi-level break statement when I started programming. But it turns out that, most of the time, you're best served by moving that whole ch
by quietbritishjim 1y ago
I often wished for a multi-level break statement when I started programming. But it turns out that, most of the time, you're best served by moving that whole chunk into its own function and using "return" instead of "break outer". That amount of control flow complexity usually justifies moving into a separate function anyway.