[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

12921: RE: [MUD-Dev] Object and class heirarchies -- are they really nec essary?

[Full Header] [Plain Text]
From: Brian Ashburn <BAshburn@us-south.net>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 28 Mar 2000 15:00:57 -0500
Organization: Kanga.Nu
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