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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA 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,UTF8 Received: by 10.68.135.231 with SMTP id pv7mr4141630pbb.8.1328893741740; Fri, 10 Feb 2012 09:09:01 -0800 (PST) Path: wr5ni9280pbc.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 10 Feb 2012 18:09:00 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Convention for naming of packages References: In-Reply-To: Message-ID: <4f354f2c$0$6567$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 10 Feb 2012 18:09:01 CET NNTP-Posting-Host: 6694d479.newsspool4.arcor-online.net X-Trace: DXC=V1e_3kIIgiC2jYf>V4L0gL4IUKJLh>_cHTX3jMU2cGTRQ7HQK X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-02-10T18:09:01+01:00 List-Id: On 10.02.12 16:07, Yannick DuchĂȘne (Hibou57) wrote: > Object : constant Object_Type := Object (Param); (1) Does Object do anything? Does it, for example, make an object from Param? (2) Is there some kind of relationship between the function Object and its Param? (3) Is Object different from Object_Type--other than being a function, not a type? If any of the questions has a positive answer, the answer should generate solutions. (1) An obvious prefix for the function name might be Make_. (2) If it is possible to describe the relationship of the function and its parameters, there might be a word in the description that can serve as part of the function's name. (3) If Object is different from Object_Type, then the difference likely has a description. Again, it might be possible to find words in this description that will do for the function and/or the type, words that have more meaning than _Type. When I imagine a function to be a table, the parameters and the result being the columns, I sometimes find a good name for the whole thing, in context.