On Wed, Jun 15, 2016, at 10:20, Rustom Mody wrote:
> Claim is that the damaging propensities of goto are replicable with
> break.

The "damaging propensity" in this particular case simply comes from the
fact that it's a statement that can appear in the body of an if
statement (the real flaw that caused the bug here here was the optional
braces of the if statement), which is just as true of anything else. It
could have called a function that it shouldn't have called.

But a lot of people do claim that break should be generally "considered
harmful" just like goto and never used at all because of this
isomorphism.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to