MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: raise()



Regarding the behaviour of THROW and CATCH, I would recommend that you
all take a look at Guy Steele's write-up in "Common Lisp, The
Language, 2nd edition", as this also discusses UNWIND-PROTECT.  In
C++, the functionality of UNWIND-PROTECT is at least partially covered
by destructors of objects with automatic extent.  In Lisp, with its
garbage collector, UNWIND-PROTECT handles a lot of gotchas.

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
Robert Jay Brown III  rj@eli.wariat.org  http://eli.wariat.org  1 847 705-0424
Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------


References:

Home | Subject Index | Thread Index