Aahz wrote:

In article <[EMAIL PROTECTED]>,
Paul Rubin  <http://[EMAIL PROTECTED]> wrote:

I was pretty skeptical of Java's checked exceptions when I first used
them but have been coming around about them.  There's just been too
many times when I wrote something in Python that crashed because some
lower-level function raised an exception that the upper level hadn't
been expecting, after the program had been in use for a while.  I'd
sure rather find out about that at compile time.


That's funny -- Bruce Eckel talks about how he used to love checked
exceptions but has come to regard them as the horror that they are.
I've learned to just write "throws Exception" at the declaration of
every method.

Pretty sloppy, though, no? And surely the important thing is to have a broad handler, not a broad specification of raisable exceptions?


regards
 Steve
--
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to