Who needs exceptions (was Re: Two languages, too similar, competing in the same space.)

Michael Ströder michael at stroeder.com
Wed Jan 2 12:04:22 EST 2002


Ville Vainio wrote:
> 
> One great thing about exceptions as opposed to retval-checking is that
> when you are making the initial version, you don't have to implement
> error-checking at all! Whenever something weird happens, you will know
> where and why it happened through the traceback.

Agreed.

Example: Since most people are too lazy to install my web software
locally for testing I let it run on a web server and log all
unhandled exceptions with some extra information. After pointing
them to the URL of the online demo they help me testing. This is
very helpful!

Ciao, Michael.



More information about the Python-list mailing list