"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well the basic idea is "treat what you've been passed as though it is
> the type you wanted". When it's only you writing the code that's likely
> going to be the case. When it's others, you have to be a little more
> careful to catch the exceptions (except when you don;t bother, in which
> case the users will have to understand the tracebacks).
>

I grew up in an environment that believes in prevention, rather then
after-the-fact fixing.   That's why it's hard for me to delegate error
checking tasks to exception, rather then assert - it just feel so...."nake".
:=)

Anyway, points taken.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to