🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #5873

Re: object oriented design decision

#5873
From: Erland Sommarskog
Date: Thu, 17 Nov 1988 21:26
15 lines
940 bytes
Daniel B Hankins (dan-hankins@cup.portal.com) writes:
>Thanks for all the email responses to my query.  To summarize:
>
>Multiple inheritance is an indication that something is wrong with the class
>hierarchy.  Restructure that and single inheritance should do fine.  
 
Could anyone elaborate this? I fail to see what is bad with multiple 
inheritance. If I want to store an object in a tree and a 
linked list simultaneously, what is wrong with my class structure?

-- 
Erland Sommarskog
ENEA Data, Stockholm
sommar@enea.se
A radio station is a four-letter word.
Technical Details
Message-ID: <4086@enea.se>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!enea!sommar

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!enea!sommar
From: sommar@enea.se (Erland Sommarskog)
Newsgroups: comp.lang.misc
Subject: Re: object oriented design decision
Message-ID: <4086@enea.se>
Date: 17 Nov 88 21:26:41 GMT
Organization: ENEA DATA AB, Sweden
Lines: 14