When to use exceptions (was Re: reducing if statements...)
tanzer at swing.co.at
Wed Aug 22 07:25:45 CEST 2001
Don Dwiggins <dwig at advancedmp.net> wrote:
> So, are there some good patterns, idioms, or whatever to provide
> guidance on when to use exceptions vs. checking error codes, etc.
> (other than the obvious general qualities: ease of use, readability,
> modifiability, ...)?
Don't use error codes.
Christian Tanzer tanzer at swing.co.at
Glasauergasse 32 Tel: +43 1 876 62 36
A-1130 Vienna, Austria Fax: +43 1 877 66 92
More information about the Python-list