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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,93cb102974dc309 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!postnews.google.com!a19g2000pra.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Naming conventions : where does the capital letter come frome ? Date: Mon, 29 Sep 2008 07:51:01 -0700 (PDT) Organization: http://groups.google.com Message-ID: <47a5778a-d659-41e1-b110-23bc6ce3885d@a19g2000pra.googlegroups.com> References: <40018f14-ff25-4701-8b5b-52c512e5fc99@m44g2000hsc.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1222699862 5504 127.0.0.1 (29 Sep 2008 14:51:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 29 Sep 2008 14:51:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a19g2000pra.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2135 Date: 2008-09-29T07:51:01-07:00 List-Id: On Sep 26, 6:52 pm, Hibou57 (Yannick Duch=EAne) wrote: > Hello and Bonsoir, > > I was wondering why the most used Ada naming convention use capital > letters with underscores.... further more, why capital letters while > there are underscores to help to discern identifier parts ? This isn't an answer to your question, but a historical note: In the Ada 83 reference manual, the convention was that names of identifiers were in *all* capitals; reserved words were all lower-case (and were printed in boldface, in the manual). I can't say for certain why it changed, but quite possibly people just felt that having too many capital letters strung together was harder on the eyes (particularly in source code, where, without a special tool or editor to view the code, letters all appear in the same font). Actually, I'd guess that the reason for the current naming convention is partly just that many people find it easiest for readability. *Why* it would be easiest is a really hard question, but it seems like it would be a fascinating one---for linguists or psycholinguists or somebody in that field. Maybe one of them has some ideas about it. Is there a Usenet linguistics group someone could ask? -- Adam