exceptions == errors?
Roy Smith
roy at panix.com
Tue Apr 8 13:26:15 EDT 2003
Jim Meyer <jmeyer at pdi.com> wrote:
>It's always been my impression that exceptions impose considerable
>performance overhead and therefore should be used to handle only the
>truly exceptional cases; for any predictable case, one should perform
>validation and/or error-handling outside the exception mechanism.
>
>[BTW, I picked up this habit after reading "Effective C++" by Scott
>Meyers, a book I cannot recommend highly enough. =]
"Effective C++" is indeed an excellent book for improving your C++
code. But why would you think it would teach you anything about
improving your Python code? Most of the book is very C++ specific.
More information about the Python-list
mailing list