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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-15 09:44:58 PST Message-ID: <3F65ED07.116@mail.ru> Date: Mon, 15 Sep 2003 20:47:03 +0400 From: Dmytry Lavrov X-Mailer: Mozilla 3.0Gold (Win95; I) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? References: <3F5F7FDC.30500@attbi.com> <3F6079A9.6080108@attbi.com> <3F60E380.4020307@attbi.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.248.15.107 X-Trace: shknews01 1063644214 213.248.15.107 (16 Sep 2003 00:43:34 +0800) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!news2.ilink.net!shknews01 Xref: archiver1.google.com comp.lang.ada:42528 Date: 2003-09-15T20:47:03+04:00 List-Id: olehjalmar kristensen - Sun Microsystems - Trondheim Norway wrote: > > >>>>> "RIE" == Robert I Eachus writes: > > > > RIE> interfaces and mix-ins. But type inheritance cannot be from two > RIE> concrete parents, no matter what the language--one parent has to be > RIE> abstract. So anyone who condemns Ada for not adding what cannot be > RIE> done needs to get a life. > > What do you mean by "concrete parents"? > > class a { > public: > void foo(); > }; > > class b { > public: > void bar(); > }; > > class c: public a, public b{ > }; > > Works just fine, and there is nothing abstract about a and b. What's > the problem? > > RIE> -- > RIE> Robert I. Eachus > > RIE> "As far as I'm concerned, war always means failure." -- Jacques > RIE> Chirac, President of France > > RIE> "As far as France is concerned, you're right." -- Rush Limbaugh IMO,if there are difference between inheritance and having class inside other class(so called delegation),it's problem of bad language design.