[pro] Shared slots
Bob Kerns
rwk at acm.org
Fri Jan 7 08:13:41 UTC 2011
Dan Weinreb wrote:
"At least one reason, and maybe the only reason,
is that the initial value is figured out in a way
that may depend on class precedence."
Well, another reason is that they're associated with the class, and can thus
be introspected as part of some protocol where you supply a class as an
argument.
I'm not recommending that or anything. You would be better off designing
some sort of specification object which included both a class AND those
values. I'm just pedantically addressing your "only reason" speculation. :=)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20110107/4329ca0d/attachment.html>
More information about the pro
mailing list