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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: Brian Rogoff Subject: Re: friend classes in ada95 (long) Date: 2000/04/19 Message-ID: #1/1 X-Deja-AN: 613205129 References: Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: nntp1.ba.best.com 956163005 204 bpr@206.184.139.136 MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-19T00:00:00+00:00 List-Id: On Tue, 18 Apr 2000, David Botton wrote: > What I am looking to do is introduce interface MI in to Ada syntax. And if I > am already going to implement it, I might as well do it in a way that would > make it easier to write a COM object in raw Ada. I would still never suggest > any one try and write COM objects with out a framework like GNATCOM, much as > most people would never write COM objects in C++ with out ATL or MFC. > > Of course, I can already do interface MI in Ada already, so this is really > just about syntax. Hmmm. I find that interface MI is very clumsy in Ada. Are you saying that you find it as easy in Ada as in Java? Somehow I think I must be misunderstanding you; please give an example of interface MI in Ada. There was some work at grafting interface MI into C++, indeed I believe that GNU C++ may still support the "signature" proposal of Russo and Baumgartner. I thought that stuff was neat, and hope something similar finds its way into the next Ada. Ada already handles implementation MI well enough IMO, with generics and the access discriminant trick. > I am not happy that Ada comes out looking bad in OO > circles, since most people can not bridge the gap from "class X" to "type X > is tagged", even though there is none. I guess I am one of those people who, for the most part, liked the Ada "tagged" keyword and syntax since I first learned it, so this kind of change is uninteresting to me. -- Brian