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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,UTF8 X-Google-Thread: 103376,1592759aa83d0d45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-29 02:15:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!dialin-145-254-039-049.arcor-ip.NET!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: MI in Ada 200X (was: Suggestion for Ada 200x - Interface inheritance) Date: Thu, 29 May 2003 11:17:39 +0200 Organization: At home Message-ID: References: <0Pxza.699607$OV.652508@rwcrnsc54> <4a4de33a.0305280557.5d5aba37@posting.google.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: dialin-145-254-039-049.arcor-ip.net (145.254.39.49) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit X-Trace: fu-berlin.de 1054199714 5897211 145.254.39.49 (16 [77047]) User-Agent: KNode/0.7.1 Xref: archiver1.google.com comp.lang.ada:37980 Date: 2003-05-29T11:17:39+02:00 List-Id: Preben Randhol wrote: > Mário Amado Alves wrote: > >> Everybody wants class MI. The reasons it was left out of Ada 95 and >> 83, the cons, are weaker than the pros. So every Adaist whishes to see >> it in Ada 200X. > > Convince me :-) Seriously what are the pros and cons of MI. Hey, the burden of proof is on your side! (:-)). SI is an artificially restricted MI. Consider overloading allowed only in one argument. Silly? Then convince me that you really need it for two arguments. And, well, there are work-arounds A, B, C etc. Now consider a possibility that MI has a problem X. Then, obviously, either X is a problem of the concept of inheritance (1), or X is a problem of the language, implementation, our understanding etc (2). Thus either: (1) we should better dismiss SI as well. or (2) we should carefuly check the language to implement MI correctly. -- Regards, Dmitry A. Kazakov www.dmitry-kazakov.de