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-Thread: 103376,c39ad3e35a7690a9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.73.229 with SMTP id o5mr9934571pbv.7.1329145170336; Mon, 13 Feb 2012 06:59:30 -0800 (PST) Path: wr5ni20387pbc.0!nntp.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!192.87.166.28.MISMATCH!tudelft.nl!txtfeed1.tudelft.nl!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Convention for naming of packages Date: Mon, 13 Feb 2012 15:59:18 +0100 Organization: cbb software GmbH Message-ID: <139v6qo34y3v9.1b9alw2z3gtqm.dlg@40tude.net> References: <4f355230$0$21451$ba4acef3@reader.news.orange.fr> <1sx3fy79wys5s.1723nejowbg76.dlg@40tude.net> <15fgcngmgl41e$.113i7gtuwpwpv$.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: 2012-02-13T15:59:18+01:00 List-Id: On Mon, 13 Feb 2012 15:01:07 +0100, Yannick Duch�ne (Hibou57) wrote: > Le Mon, 13 Feb 2012 14:07:51 +0100, Dmitry A. Kazakov > a �crit: >>> Before I forget this question: in a similar manner, I am seeking for a >>> generic name for procedure or function, when the main purpose of a >>> package >>> is a procedure or function. I though Apply and Eval or Get of Value >>> could >>> be option (Value being my current favorite for pure functions), but I'm >>> not clearly fine with any one of these. >> >> These are the result of Ada lacking means to declare user-defined >> dereference/delegation operations. I know no good schema for naming >> these. > It may don't hurt to give examples if you tried some. There is little to try: Get_Value or Value or Get. Not much choice. >> Ada 2012 might show itself better in that respect eliminating need in >> explicit naming of some of such operations. > I don't see. What do you mean, concretely? Ada 2012 has implicit dereference aspect which could potentially eliminate stuff like Get_Value and Set_Value. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de