[Baypiggies] Exceptions and flow control
Aahz
aahz at pythoncraft.com
Fri Jan 23 16:18:33 CET 2009
On Fri, Jan 23, 2009, Shannon -jj Behrens wrote:
>
> I could probably give a newbie nugget just on ways of abusing
> exceptions for flow control ;) Fun!
Why do you call that abuse? Often exceptions are the clearest/simplest
mechanism for managing multiple levels of flow control.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Weinberg's Second Law: If builders built buildings the way programmers wrote
programs, then the first woodpecker that came along would destroy civilization.
More information about the Baypiggies
mailing list