The rap against "while True:" loops

Tim Rowe digitig at gmail.com
Wed Oct 14 17:41:12 CEST 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