[E-Lang] Re: inheritance, delegation, mental models for beginners (was: down with `define' (was: newbie syntax: picayune points from a prejudiced programmer))
Marc Stiegler
marcs@skyhunter.com
Fri, 2 Mar 2001 14:41:46 -0700
> > Third step: get rid of it completely because no one ever uses it in its
> ...
>
>
> Sounds like an excellent plan to me. I will enjoy using E much more
> for the first N weeks if I can do inheritance the way I am used to. If
> you are right about the value of extra modularity due to non-covariant
> recursive method calls then N will be small, else N will be large. :-)
Well...uh...in fact, the current draft of Walnut doesn't include the
inheritance example, it just a has a placeholder, the way Tyler would prefer
it to remain :-) You'll have to look its syntax up on markm's site, wherever
it is...or, ahem...try out the delegation, see how it works for you :-)
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.
--marcs