From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,34c2aa33b8bdb1a9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-14 06:11:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!demon!btnet-peer0!btnet-peer!btnet!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: John English Newsgroups: comp.lang.ada Subject: Re: Sugestion to Multiple Inheritance Date: Mon, 14 Jan 2002 13:58:48 +0000 Organization: University of Brighton Message-ID: <3C42E418.8B8C694F@brighton.ac.uk> References: <3C3F2B7F.4F077FC0@adaworks.com> <3C3F5186.5030003@mail.com> <3C3FE73C.D633E042@adaworks.com> <3C412BAC.9010301@mail.com> NNTP-Posting-Host: pcje.it.bton.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: saturn.bton.ac.uk 1011016669 1615 193.62.183.48 (14 Jan 2002 13:57:49 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 14 Jan 2002 13:57:49 GMT X-Mailer: Mozilla 4.7 [en-gb] (WinNT; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:18899 Date: 2002-01-14T13:57:49+00:00 List-Id: Hyman Rosen wrote: > > Richard Riehle wrote: > > Multiple inheritance is just one feature > > > I find, if not a disaster, at least, as you say, overly-complicated, > > and inconvenient. > > Actually, the complications are in the compiler, because of technical > aspects of how objects must behave during their construction. In use, > MI works for C++ users pretty much exactly as they expect. Unless you have a diamond-shaped hierarchy: A / \ B C \ / D in which case you get into the nasty world of virtual base classes and the assorted surprises that they bring with them. Anyone who finds that MI works "pretty much exactly as they expect" in this situation has a better imagination than average, IMHO. ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------