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.135.231 with SMTP id pv7mr691506pbb.8.1329305168895; Wed, 15 Feb 2012 03:26:08 -0800 (PST) Path: wr5ni27693pbc.0!nntp.google.com!news2.google.com!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: Wed, 15 Feb 2012 12:26:05 +0100 Organization: Ada @ Home Message-ID: References: <4f355230$0$21451$ba4acef3@reader.news.orange.fr> <9q10nfFj2bU1@mid.individual.net> NNTP-Posting-Host: CCLCak132Zj8lSQ0l+ynew.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-15T12:26:05+01:00 List-Id: Le Wed, 15 Feb 2012 07:13:03 +0100, Niklas Holsti = a =C3=A9crit: > I tend to use the first letter of the array or type identifier: > > for E in Events_Type loop > for L in Event_Description(E).Lines'Range loop > Print (Event_Description(E).Lines(L))); > end loop; > end loop; Common practice indeed, worth noted explicitly, thanks for that. The sam= e = occurs also with S for a string parameter which is really just a string.= But the shorter a name is, the more likely conflict raises. When it = occurs, using two letters identifier looks quicly hugly and drafty, so t= he = best is then to fall=E2=80=91back to regular short names. -- = =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