Who needs exceptions (was Re: Two languages, too similar, competing in the same space.)
François Pinard
pinard at iro.umontreal.ca
Wed Jan 2 18:59:31 EST 2002
> > 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.
[Ralph Corderoy]
> He could have written myprintf, a wrapper around vprintf.
Maybe. The code had to work with an older system, where there was probably
not such `vprintf'. In any case, less I see that code, better I feel! :-)
It is part of that push that keeps me close to Python, whenever possible!
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list