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,e5eb8ca5dcea2827 X-Google-Attributes: gid103376,public X-Google-Thread: 1008e3,a7084fcfbc5ce2fb,start X-Google-Attributes: gid1008e3,public From: chris@nospam Subject: Re: Ada OO Mechanism Date: 1999/05/30 Message-ID: <7ircia$ued@drn.newsguy.com>#1/1 X-Deja-AN: 483740492 References: <7i05aq$rgl$1@news.orbitworld.net> <7i17gj$1u1k@news2.newsguy.com> <7icgkg$k4q$1@nnrp1.deja.com> <3749E9EC.2842436A@aasaa.ofe.org> <7id2eo$fag@drn.newsguy.com> <3749FF7D.F17CE16A@aasaa.ofe.org> <374AC676.F7AE0772@lmco.com> <374F1DD3.64070C3E@mitre.org> Organization: Newsguy News Service [http://www.newsguy.com] Newsgroups: comp.lang.ada,comp.lang.modula3 Date: 1999-05-30T00:00:00+00:00 List-Id: Today I saw a book on modula-3. I think Ada OO should have been designed as modula-3 OO is. In Modula-3, you have a modula, which is same as an Ada package. but also, you have what is called an OBJECT, (which looked like a RECORD), which contains DATA part, and METHODS part. Inside a modula, you can declare an OBJECT. So, here we have a language, which I thought was very similar to Ada, but used the familiar class like construct for the OO type. I have no idea why Ada did not do it the same way. I wonder if when Ada95 OO was designed, if modula-3 was around? I liked the way modula-3 did it. I think I am going to learn more about that language. Too bad it is not a very much used language. chris.