[comp.lang.clos] Subclassing clos:standard-class

rdh@THUMPER.BELLCORE.COM (Ralph Hill) (04/12/91)

I am thinking about making my own type of class, but I can find little
useful documentation on what is legal, portable and sylistically good.
Hence, these questions:

Is subclassing clos:standard-class a normal and safe thing to do?

Is it portable?

Where are the methods for clos:standard-class documented?  Should I use
``Readers for Class Metaobjects" p. 3-88 of Chapter 3 of the CLOS spec?
(I have Draft 11, July 30, 1990.)

Given that all I really want to do is add some slots (say,
my-class-slot) to standard-class, might I be better off defining a class
(my-root-class) with some class variables (e.g., my-class-slot), and
make all my classes subclasses of my-root-class?  This has a conceptual
non-nicity in that the slots that should be in the class are accessed
from the instances, but as class variables.

Comments?  Advise?  Is this question too naive to be of interest?

     ralph hill
     Bellcore