1 May
2004
1 May
'04
2:29 a.m.
Andrew Koenig wrote:
This looks (a) cool and (b) a complete hack that nobody should be
allowed to
do without messing with sys._getframe().
It reminds me a little bit of the dynamic binding in Emacs lisp. As incredibly useful as that is sometimes, it's a disgusting hack. :)
And, if I understand correctly, something from which the Lisp community is moving away--preferring, instead, the notion of "lexical scoping" such as in Scheme. Well, global variables in Common Lisp are still dynamically-scoped, which makes perfect sense IMO.
Also, I think there is a SRFI almost every Scheme implements (SRFI ~ PEP) which add dynamic bindings. Cheers, Michael