Re: with-slots usage question
Marco Baringer <[email protected]> Mon, 10 Nov 2003 20:45:18 +0100
| Newsgroups | gmane.lisp.clump |
|---|---|
| Message-ID | <[email protected]> |
I usually use the CLASS.ACCESSOR convention but always use the super
class for CLASS, even when the slot is defined in a sub class. Using
the CLASS.ACCESSOR reminds me what i'm talking about (TITLE is pretty
generic, USER.TITLE and PAGE.TITLE arn't), and by always using the
super class I avoid the "where was this slot defined in the hierachy"
problem. at the same time, i've been known to do some pretty fucked up
shit, so ymmv.
--
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen