Breaking/continuing out of multiple loops

Time alone doesn’t mean anything. A number of decisions made back in the Python 1.x days are still important today. Not sure what you mean by “educated argument” - all you have to do is explain why the rejection should be revisited :slight_smile: Demonstrate that the objections given at the time are no longer applicable, or that there are other good reasons to reconsider this.

Have a look at other languages that have ways of breaking out of multiple loops. Do they label the loops or count them? How frequently is the feature used well, and how frequently is it abused? (Yes, this is subjective.)

Remember that a good number of multi-break situations can be better handled by treating the entire loop as a search operation, refactoring it into a function, and having the multi-break become “cool, we found the thing, return a result”. So you have to also show cases where this would not be appropriate.

2 Likes