MUD-Dev
mailing list archive

Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

RE: [MUD-Dev] Object and class heirarchies -- are they really necessary?






On Tue, 21 Mar 2000, J C Lawrence wrote:

>>   ie My inheritance tree fans out into many small banrches, and then
>> the branches then collect back together again (multiple inheritance)
>> to produce the super classes.

	On  Mon, 27 Mar 2000, Lazarus wrote:

>Not wanting to start a religious war, but no way to say it any other
way,
>it has been said that multiple inheritance is the crutch of a poorly
>designed class structure..  about half way between 'goto' and 'void
>casting'. 

The one thing I want to say about multiple inheritance is that if you
refer to the book Design Patterns, they speak of object composition.
You can use multiple inheritance in a good way if you think of it that
way.  When you make a house you put a lot of different objects together
to create the window of that house.
Brian
_______________________________________________
MUD-Dev mailing list
MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev



_______________________________________________
MUD-Dev mailing list
MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev



Other Periods  | Other mailing lists  | Search  ]