Exception as the primary error handling mechanism?

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Thu Jan 7 14:30:37 EST 2010


Lie Ryan schreef:
> On 1/7/2010 10:43 PM, Roel Schroeven wrote:
>> - I tend to think that not following that practice trains me to be
>> careful in all cases, whereas I'm afraid that following the practice
>> will make me careless, which is dangerous in all the cases where the
>> practice won't protect me.
>>
> 
> That's a sign of a gotcha... a well-designed language makes you think 
> about your problem at hand and less about the language's syntax.

It's not a big deal to me, but you're right, it's a gotcha. I don't
think there's a single language without gotcha's; one of the things I
like about Python is that is has many less than the other languages I know.

-- 
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
  -- Isaac Asimov

Roel Schroeven



More information about the Python-list mailing list