Steve D'Aprano wrote:

Similarly for break and continue.

I can still see their
use  causing potential trouble in (really-long) real-world code.
How so?

Besides, if your code is "really long", you probably should factorise it into
smaller, meaningful chunks.


I worked in maintenance programming. You got the hand you were dealt! And you weren't allowed to "improve" the code unless the customer contracted you to do so. I maintained for-loops (containing for-loops)... hundreds of lines long. Would you be searching for break or
continue?  : )




--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to