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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7eaf9f2597de2259 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-12 02:14:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "M. A. Alves" Newsgroups: comp.lang.ada Subject: Re: on package naming, should the word Date: Fri, 12 Oct 2001 11:23:05 +0000 (GMT) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: avanie.enst.fr 1002878094 21041 137.194.161.2 (12 Oct 2001 09:14:54 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 12 Oct 2001 09:14:54 +0000 (UTC) To: Return-Path: X-X-Sender: In-Reply-To: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:14372 Date: 2001-10-12T11:23:05+00:00 > >The Object.Method syntax can be implemented with preprocessing (please > >correct me if I am wrong on this). (I) > > If you are dying for it, you can also implement it with generic packages. You > don't get runtime polymorphism this way, but on the plus side this technique > works with Ada 83 too. (TED) I am not dying for it myself, personally I prefer Method(Object), but I simpathise with the proposal of making Object.Method available if it is easy to do so. Now, you mean Object = Package (instantiation). That is already an available OO idiom in Ada, but is not the required thing: as you say yourself, you dont have runtime polymorphism; it is a weaker OO idiom. The requirement is very clear: Object = object as per ARM. I propose to do it with preprocessing in order to keep the language definition unchanged w.r.t. this. Cheers, -- , M A R I O data miner, LIACC, room 221 tel 351+226078830, ext 121 A M A D O Rua Campo Alegre, 823 fax 351+226003654 A L V E S P-4150 PORTO, Portugal mob 351+939354002