MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: [MC] Multiple Inhertiance



>
>MOO is designed to be easy to program, and easy to learn to program.  To 
>a programmer who's just been introduced to object-oriented programming, 
>single-parent inheritance can be difficult enough (remember when you were 
>first learning MOO programming?  Did you really need another thing to 
>deal with?)  The real question here is whether the added power of 
>multiple inheritance is worth the price of the added complexity.
>

Well, someone mentioned removing chparent() before... this would REALLY
complicate things, because it's everywhere in the core.  So I'd suggest
chparent(dobj, obj) adding obj and all of obj's parents to dobj.  This
would, in a sense, be single-parent inheritance, and be easy for programmers.

--
- Wisquatuk, wizard for hire.
 AnonyMOO: moo.stac.org  8888 	  	      ArkayMOO: b4futures.net   8888
MOOnShine: dir.mcc.ac.uk 8888    Archwiz: TimeWarp MOO: aix1.uottawa.ca 8888



Home | Subject Index | Thread Index