MOO-cows Mailing List Archive


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:  8888 	  	      ArkayMOO:   8888
MOOnShine: 8888    Archwiz: TimeWarp MOO: 8888

Home | Subject Index | Thread Index