5 ms·
1) I need to count the loops to work out where it breaks. 2) It’s sensitive to refactoring changing the nesting. That seems strictly worse than labelled breaks
by ajanuary 4y ago
1) I need to count the loops to work out where it breaks.
2) It’s sensitive to refactoring changing the nesting.
That seems strictly worse than labelled breaks. What are the upsides?
- chkas 4y agoYou don't have to make up a name again. The namespace is usually pretty full anyway. If you accept a "break", which is a "break 1", you must consistently also allow a "break 2". Many things are sensitive to refactoring that changes the nesting.