[E-Lang] Re: inheritance, delegation, mental models for beginners (was: down with `define' (was: newbie syntax: picayune points from a prejudiced programmer))
zooko@zooko.com
zooko@zooko.com
Fri, 02 Mar 2001 13:50:55 -0800
> It is perhaps worth noting that Design Patterns by Gamma et al focuses
> almost exclusively on delegation patterns, not inheritance. If you're a
> Pattern person, you should find it is just fine.
Yes, I'm familiar with that work, and with its surprisingly influential
introduction on "black box re-use" and "the fragile base-class
problem", but I'm not convinced that I want my superclasses to prefer
their own methods over my subclasses methods.
But whether it is better or not is tangential to the real issue, of
course, about how to seduce mainstream coders en masse.
And by the way I still consider E delegation to be a kind of
"inheritance".
Regards,
Zooko