[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
:dynamic slots
- To: RPG@SAIL.STANFORD.EDU, commonloops.pa@Xerox.COM
- Subject: :dynamic slots
- From: Daniel L. Weinreb <DLW@ALDERAAN.SCRC.Symbolics.COM>
- Date: Tue, 31 Mar 87 01:12 EST
- In-reply-to: <870330-204604-2018@Xerox>
- Line-fold: No
I agree, and would like to amplify the important point you made: it
isn't necessary to define a new metaclass to get the essential
functionality of the :dynamic feature. You can do it with a class that
gets inherited by anybody using the feature, plus a macro. We've been
doing the equivalent thing with flavors for a long time, using a flavor
called property-list-mixin. The only advantage to building in :dynamic
that I can see would be if you like that syntax better. I don't see any
reason to expect a performance penalty.