At 8:48 PM +0100 2/3/03, Jerome Quelin wrote:
Dan Sugalski wrote:
 At 8:39 PM +0100 2/3/03, Jerome Quelin wrote:
 >Dan Sugalski wrote:
 >>  *) Property: A named thing attached to an object. Properties are
 >>  global to the object and public--i.e. there's no implicit hiding,
 >>  namespaces, or whatnot. There can be only one foo property on an
 >>  object, for example
 >>  The interpreter must handle class hierarchy stuff (parent class,
 >>  interfaces inherited) so method caches can be invalidated as need
 >> be for class structure changes
 >What about property inheritance?
 Properties can't get inherited. Properties are runtime additions
 tacked on individual objects, and since we're not doing a template
 inheritance system there's no way to inherit the things.
Oops, silly me. I was talking about attribute inheritance...
Attributes do get inherited, but they're mostly invisible to any methods but the methods of the class that defines the attributes. (Of course, it's a SMOP to get them out, and they won't be that hidden, but...)
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk


Reply via email to