The rap against "while True:" loops

Tim Rowe digitig at gmail.com
Wed Oct 14 11:41:12 EDT 2009


2009/10/11 Philip Semanchuk <philip at semanchuk.com>:
> IMHO, break, goto, etc. have their place, but they're ripe for abuse which
> leads to spaghetti code.

Unrestricted goto can leat to spaghetti code, but surely break can't?
AFAICS, any break construct will still be H-K reducible.

-- 
Tim Rowe



More information about the Python-list mailing list