Friday, September 14, 2012

Lisp-ish conditions

The condition is Lisp's general-purpose, and dare I say elegant, way of handling errors and other out-of-band ... things.  Here's a good description.  Conditions and events might end up being the same thing in Decl.  We'll see.

Oh, that's right - here was the "Conditions for non-Lispers" article that got me thinking in this direction this month, along with a 2003 post by Ovid on the Monks about exception handling in Perl specifically.  Perl is essentially not capable of implementing Lisp-like conditions, or at least not without a lot of very ugly boilerplate.  But Decl would be.  Maybe even (under certain circumstances) within embedded Perl.

No comments:

Post a Comment