[slime-devel] Re: Intentionally dynamic variables in elisp?

Luke Gorrie luke at synap.se
Tue Mar 8 09:15:24 UTC 2005


Peter Seibel <peter at gigamonkeys.com> writes:

> Since variables in elisp are by default dynamically scoped, is there a
> coding convention for when you mean to take advantage of a variable
> being dynamic?

The convention that comes to mind is to only do this with variables
that have been defvar'd and not just use it as a cheesy way to avoid
passing parameters to subroutines.

> Should one use *names* like in Common Lisp?

Definitely not :-)





More information about the slime-devel mailing list