Subject: Re: more fun with :allocation :class
From: rpw3@rpw3.org (Rob Warnock)
Date: Fri, 20 Apr 2007 00:07:22 -0500
Newsgroups: comp.lang.lisp
Message-ID: <PrqdnVdOx7QX17XbnZ2dnUVZ_rKvnZ2d@speakeasy.net>
caw  <cawright.99@gmail.com> wrote:
+---------------
| > The next time you create /that class/
| > (NOT AN INSTANCE OF THAT CLASS!!!!), ie, when you exit your lisp and
| > re-enter and the Lisp runtime has to create anew /the class/, then you
| > will see the new initform take effect.
| 
| That's what I found surprising... that the class is not created anew
| when the new class definition is compiled and loaded.
+---------------

Why is that "surprising"? The identity of a instance of a
class does not change when the class definition changes, right?
[Slots may be added or deleted or updated, but *identity*
doesn't change.]  Well, [by default] any class is itself
an instance of the class STANDARD-CLASS, so why would you
expect the identity of such an instance to change, either?


-Rob

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