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

nu.kanga.list.mud-dev

15740: Re: [MUD-Dev] Object Models

[Full Header] [Plain Text]
From: Dmitri Zagidulin <zagidud@allegheny.edu>
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 16 Nov 2000 18:59:48 -0500 (EST)
References: [1]
Organization: Kanga.Nu
On Thu, 16 Nov 2000, J C Lawrence wrote:

> What you are talking about is called "multiple inheritance".  It is
> not an entirely trivial topic, and in fact has a number of very ugly
> aspects.  Its worth spending some time reading up about multiple
> inheritance and single inheritance via your favourite search engine.

Question for you guys - when do you actually _need_ multiple inheritance?
I can't think of an example where one would need multiple inheritance
which couldn't be elegantly expressed (or at the very least expressed
without much extra effort) as using regular inheritance with components.
Can you think of one?

Also, for an excellent discussion on inheritance (including the multiple
kind), check out the inheritance chapter in Bertrand Meyer's classic
"Object-Oriented Software Construction, 2nd ed":
http://www.eiffel.com/doc/manuals/technology/oosc/inheritance-design/

- Dmitri
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev