[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 19:53:06 -0700
I must read this discussion of inheritance extremely closely, not tonight
:-)
Markm, you had the Maker convention, ala thingMaker, the first time you ever
showed me E. It was not enough. I wish I could write myself off as a worse
test case than a random programmer off the street, or at least worse than
the first thousand early adopters we have to attract...but, uh, I have some
trouble believing that. The next generation of E programmers will have the
advantage of having better documentation, and better and more numerous
examples...but they will have the disadvantage that they won't have you
yourself as a private tutor :-)
Time to look for some more ideas :-)
--marcs
> The familiar class-based description first:
....
> On a different and depressing note, in writing the above code, I noticed a
> reason not to use the "newThing" convention: I first wrote
>
> def newRecip := recip welcome(self)
>
> and then I caught myself. I think this mistake will always be natural.
> Better not to have a convention that conflicts with the above line. But I
> really dislike "classThing". I like "ThingClass" only slightly better.
Are you
> sure you don't like the current "ThingMaker"? Instead of either
pretending