Re: More questions about exported symbols and general style.
- From: Ken Tilton <kentilton@xxxxxxxxx>
- Date: Sun, 31 Dec 2006 03:28:43 -0500
Zach Beane wrote:
"Pillsy" <pillsbury@xxxxxxxxx> writes:
Well, two questions about exporting symbols, really. Say I want to set
up bindings to captured variables (like IT in anaphoric macros) in
packages that I'll be using. Do I want to just export IT and friends,
or should I walk through the code and replace them with gensyms or
something?
This is a bit of a tangent, but: don't write anaphoric macros. Making
names magically spring into existence without visible bindings is not
very Lispy.
Damn! Now I have to stop using special variables and symbol-macros?!!
OTOH, yes, i can see how using 'self' or 'this' to refer to the-instance-at-hand would be totally dumbfounding to the reader...
Thank God the authors of LOOP never got so unlispy as to allow "collect it"!!!
The point being that tightly-constrained stuff such as the above counterexamples are thoroughly unmagical and concomitantly readable.
(the bigger problem being anyone daft enought to nest anaphors and want some outer binding of it to hold.)
kt
--
The Dalai Lama gets the same crap all the time.
-- Kenny Tilton on c.l.l when accused of immodesty
.
- References:
- More questions about exported symbols and general style.
- From: Pillsy
- Re: More questions about exported symbols and general style.
- From: Zach Beane
- More questions about exported symbols and general style.
- Prev by Date: Re: Stack overflow in relatively simple programs
- Next by Date: [PATCH] asdf: load-op after load-source-op
- Previous by thread: Re: More questions about exported symbols and general style.
- Next by thread: Re: More questions about exported symbols and general style.
- Index(es):
Relevant Pages
|