Subject: Re: scheme seems neater
From: rpw3@rpw3.org (Rob Warnock)
Date: Thu, 08 Apr 2004 03:55:24 -0500
Newsgroups: comp.lang.lisp
Message-ID: <uMmdncc3R-_hjujdRVn-sQ@speakeasy.net>
Frode Vatvedt Fjeld  <frodef@cs.uit.no> wrote:
+---------------
| I find that my brain has absolutely no problems dealing with the
| burden of knowing both "let" and "flet".
+---------------

Me neither... except for occasional grumblings at the additional
indenting when I need both around the same block of code.  ;-}

+---------------
| I'd even be inclined to consider whether Common Lisp is "cluttering"
| let by using it for both lexical and dynamic variable bindings.
+---------------

Indeed. If we had to explicitly say FLUID-LET like some Schemes do
(or to keep it short, DYN-LET or even just DLET), it would remove
a certain amount of confusion (that the *FOO* convention doesn't
completely solve).

But... We'd have to add a new &DYNAMIC keyword to lambda lists
to force FLUID-LET bindings on some parameters, otherwise certain
well-established coding styles would break badly.


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607