Who needs exceptions (was Re: Two languages, too similar, competing in the same space.)

Steve Lamb grey at despair.dmiyu.org
Wed Jan 2 20:29:17 EST 2002


On Wed, 2 Jan 2002 16:32:49 -0800, Cliff Wells
<logiplexsoftware at earthlink.net> wrote:
> On Thu, 03 Jan 2002 00:30:29 -0000
> Steve Lamb <grey at despair.dmiyu.org> wrote:
> 
>> 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?
 
> Then again, he never said he /reported/ the error ;-)

    Sure he did.  Right there, "with appropriate error reporting."  
 


-- 
         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