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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham 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.74.201 with SMTP id w9mr9302879pbv.0.1329125586517; Mon, 13 Feb 2012 01:33:06 -0800 (PST) Path: wr5ni19460pbc.0!nntp.google.com!news2.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Convention for naming of packages Date: Mon, 13 Feb 2012 10:33:05 +0100 Organization: Ada @ Home Message-ID: References: <4f354f2c$0$6567$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: TqfFTdzi95I8zBbbKWTz3Q.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.61 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-02-13T10:33:05+01:00 List-Id: Le Fri, 10 Feb 2012 18:09:00 +0100, Georg Bauhaus = a =C3=A9crit: > On 10.02.12 16:07, Yannick Duch=C3=AAne (Hibou57) wrote: > >> Object : constant Object_Type :=3D 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_. The common practice is not to use a prefix, and use either Make or Creat= e = alone. This practice works fine, so as a derived question, I was questioning = myself about the conversion functions: if we name creation function Make= = or Create, shouldn't conversion functions be named the same way using a = = single word like Casted or Converted? (adjectives because these are = function) This may cause ambiguities in some context, but not more the Create/Make= = and type qualification is always available to solve ambiguities. What's your feeling? -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity