[Tutor] Re: converting string to a number
Andrei
project5 at redrival.net
Fri Sep 3 13:07:51 CEST 2004
nik <my.mailing.lists <at> noos.fr> writes:
> Thanks for the advice guys, I hadn't thought of what would happen if it
> wasn't the exception you were expecting. It still feels uncomfortable
> though, I've always felt an exception is *exceptional*, ie something
> that was outside your control.
The name is misleading :). You do need to be careful with them though, because
they have the potential of hiding problems and/or making them difficult to solve
when you use them *too* liberally (particularly generic try-excepts over large
pieces of code).
Yours,
Andrei
More information about the Tutor
mailing list