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.73.229 with SMTP id o5mr4137951pbv.7.1328893469819; Fri, 10 Feb 2012 09:04:29 -0800 (PST) Path: wr5ni9268pbc.0!nntp.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 10 Feb 2012 18:04:28 +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: <4f354e1c$0$6567$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 10 Feb 2012 18:04:28 CET NNTP-Posting-Host: 6694d479.newsspool4.arcor-online.net X-Trace: DXC=S3m7_M@X>O2nBOkdL^Lo7>4IUKnc\616M64>:Lh>_cHTX3j=U2cGTRQ7HQ; X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-02-10T18:04:28+01:00 List-Id: On 10.02.12 16:07, Yannick DuchĂȘne (Hibou57) wrote: > function Object (Param : Param_Type) return Object_Type; Does Object do anything? Does it, for example, make an object from Param? Is it in some kind of relationship between the function Object and its Param? Is Object different from Object_Type--other than being a function, not a type? An obvious prefix in the first case might be Make_. 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. 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.