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-09 00:33:57 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? Date: 9 Sep 2003 00:33:54 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1063092836 25340 127.0.0.1 (9 Sep 2003 07:33:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Sep 2003 07:33:56 GMT Xref: archiver1.google.com comp.lang.ada:42305 Date: 2003-09-09T07:33:56+00:00 List-Id: Hyman Rosen wrote in message news:... > Robert C. Leif wrote: > > In particular adding interfaces to Ada allows derived types > > where the type inherits one parent type and adds one or more interfaces. > > Thereby exhibiting the simple lack of courage to add multiple > inheritance. Why should we limit to inheriting from one type? > What is it about one that makes it better than two or more? I'm certainly no expert here, but my impression is that multiple inheritance is much more difficult to implement (correctly in all cases) than SI. I've also read (somewhere long ago) that in the vast majority of cases in which MI is used it is unnecessary and more complicated than necessary. If interfaces are a reasonable "workaround" for the few legitimate cases where MI is needed, than perhaps they are a reasonable compromise.