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

Stefan Nobis stefan at snobis.de
Sun Dec 30 06:14:02 EST 2001


gerson.kurz at t-online.de (Gerson Kurz) writes:

> So ? After all, C doesn't need it, and I think few C programmers would
> call this feature the "most missing", or? 

Take a closer look at the standard C libraries. They are *very* bad. I would
call it very error-prone, if a function returns a value, that could be a
correct value as good as an error code. This sort of in-band error-handling is
the dead of every big library. So exception handling is very bad needed for
good libraries.

And that's are only the simpler issues. There are other issues like objects on
the stack and the time, when they are destroyed and the like.

That said i call every language broken, which does not have exception handling
(or something similiar).

-- 
Until the next mail...,
Stefan.



More information about the Python-list mailing list