[squeak-dev] Re: Instance variable access in superclasses.
Tony Garnock-Jones
tonyg at lshift.net
Wed Nov 26 18:54:07 UTC 2008
Greg A. Woods; Planix, Inc. wrote:
> I.e. you could sort of create a subclass by simply copying the whole
> class definition you wish to inherit from, then modify it to your liking
> (this has been done an infinite number of times in uses of non-OO
> languages!). However then you lose the support of the system to
> maintain the relationship between the shared parts of the superclass
> definition(s) and the subclasses that inherit from it (or indeed even
> just between the superclass and its sole subclass in the case where the
> superclass is not actually an abstract class).
Traits?
More information about the Squeak-dev
mailing list
|