Condition signals and restarts, resumable exceptions (was: Comparison with False - something I don't understand)
Teemu Likonen
tlikonen at iki.fi
Thu Dec 9 12:54:51 EST 2010
* 2010-12-06 00:14 (-0800), Paul Rubin wrote:
> You know, I've heard the story from language designers several times
> over, that they tried putting resumable exceptions into their
> languages and it turned out to be a big mess, so they went to
> termination exceptions that fixed the issue. Are there any languages
> out there with resumable exceptions?
As some people have pointer out Common Lisp is one of those languages. I
don't know anything about language design, I'm just a hobbyist
programmer, but I think Common Lisp's condition system and its restarts
are straight-forward and easy to understand from programmer's point of
view.
Here's the relevant chapter in Peter Seibel's Practical Common Lisp:
http://www.gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html
More information about the Python-list
mailing list