Who needs exceptions (was Re: Two languages, too similar, competing in the same space.)
Steve Lamb
grey at despair.dmiyu.org
Wed Jan 2 19:30:29 EST 2002
On 02 Jan 2002 09:11:55 -0500, François Pinard <pinard at iro.umontreal.ca>
wrote:
> I remember having worked in some C code in which the original programmer
> tested the return value of each and every `printf', with appropriate error
> reporting. This yielded code which is noisy, hard to read, and irritating
> to maintain.
Ok, I'll bite, how did he report an error without getting into endless
recursion of checking for errors?
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
To email: Don't despair! | -- Lenny Nero, Strange Days
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list