[Tutor] Stack unwind using exceptions.

Noufal Ibrahim noufal at nibrahim.net.in
Sun Jul 5 09:00:13 CEST 2009


Kent Johnson wrote:
[..]
> Why not just return the value from the function and pass it up the
> call chain? If a call fails return None. Something like this:

That's what I ended up doing but the first thing occurred to me and I 
was just wondering if there's any production code that relies on the 
technique.

-- 
~noufal
http://nibrahim.net.in/


More information about the Tutor mailing list