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,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-09 02:17:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? Date: Tue, 09 Sep 2003 11:24:59 +0200 Message-ID: References: NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1063099051 20979209 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:42315 Date: 2003-09-09T11:24:59+02:00 List-Id: On 9 Sep 2003 00:33:54 -0700, 18k11tm001@sneakemail.com (Russ) wrote: >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. You can also read what medieval mathematicians thought about negative numbers ... (:-)) > If interfaces are a reasonable "workaround" for the few >legitimate cases where MI is needed, than perhaps they are a >reasonable compromise. If what you are saying were true, then a reasonable compromise should be to have no inheritance at all. Which BTW is a wide spread opinion too. --- Regards, Dmitry Kazakov www.dmitry-kazakov.de