Subject: Re: Aliasing slots
From: Erik Naggum <>
Date: Mon, 17 Dec 2001 11:21:00 GMT
Newsgroups: comp.lang.lisp
Message-ID: <>

* (James A. Crippen)
| (defclass pname-mixin ()
|   ((pname :type string
|           :initarg :pname
|           :accessor pname-of)))
| (defclass foo (name-mixin)
|   ((name :type string
|          :initarg :name
|          :accessor name-of)))

  If these are the same slot, just use the same slot name.

  However, what is the point in using the mixin superclass if you repeat
  the slot information in the subclass?

  The past is not more important than the future, despite what your culture
  has taught you.  Your future observations, conclusions, and beliefs are
  more important to you than those in your past ever will be.  The world is
  changing so fast the balance between the past and the future has shifted.