CLIM mail archive
Re: CLIM 2.0, pane names
Date: Wed, 9 Dec 1992 13:43 EST
From: Kim Barrett <firstname.lastname@example.org>
> Or is it the case that the compiler is overly anxious here (since it
> would be hard for a symbol-macro to interfere with any of the
> semantics of these symbols)?
I would say that the compiler is being overly anxious. Since these symbols are not
defined by the language specification as variables, implementations are prohibited from
defining them as variables, and portable programs are permitted to lexically bind them
as variables. See X3J13 issues LISP-SYMBOL-REDEFINITION and PACKAGE-CLUTTER.
Whether or not it is prohibited, it is generally unwise to add (most)
global attributes to symbols inherited from the common-lisp package,
such as a global value, or what is equivalent, a symbol-macro.
It stands a good chance of colliding with another program's (possibly
accidental) use of that symbol.
Then, there was the time I decided to
(defvar NUMBER <something>)
You can go a long time without anything actually _breaking_, before you
notice how dumb it is.
Main Index |