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,fd4fc3d2b22df500 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.82.103 with SMTP id h7mr9237380pay.11.1357359585953; Fri, 04 Jan 2013 20:19:45 -0800 (PST) Received: by 10.49.75.195 with SMTP id e3mr9500874qew.24.1357359585881; Fri, 04 Jan 2013 20:19:45 -0800 (PST) Path: s9ni72755pbb.0!nntp.google.com!f6no12482451pbd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 4 Jan 2013 20:19:45 -0800 (PST) In-Reply-To: <715b71c7-e606-4597-a29b-0e0fef58b4d1@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=216.255.163.53; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt NNTP-Posting-Host: 216.255.163.53 References: <715b71c7-e606-4597-a29b-0e0fef58b4d1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ? From: Britt Injection-Date: Sat, 05 Jan 2013 04:19:45 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-01-04T20:19:45-08:00 List-Id: On Friday, January 4, 2013 10:33:02 PM UTC-5, Rod Kay wrote: > On Saturday, 5 January 2013 03:31:09 UTC+11, Adam Beneschan wrote: >=20 >=20 >=20 > > > The idea is to only capitalize the noun parts of the procedure nam= e. It's a minor thing I guess, yet I find code a little easier to read when= used. >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > That would make sense if German is your first language, I suppose. To = me, whose main language is (American) English, it just looks a little weird= , aesthetically. But I don't find it either easier or more difficult to re= ad either way. >=20 >=20 >=20 >=20 >=20 > English is my 1st language, also :).=20 >=20 >=20 >=20 > It occurred to me that verbs are never capitalized in English (except = as the leading word in a sentence, of course). Proper nouns (and at one tim= e normal nouns) are capitalized. I guess I find it slightly easier to read = as it resembles normal English sentences a little more. I agree with Bob Duff's reply. I think anything starting with lowercase (ot= her than keywords) looks weird and would distract me. The common Ada conve= ntion is to capitalize first letters and each letter immediately following = an underscore. I also prefer to capitalize the first letter of attributes = as in 'Pos. Acronyms should be all caps. Your proposal would be awkward for most pretty printers like to handle but = I think gnatpp could support it using its default "as declared" casing mode= . Gnatpp also supports casing exception dictionaries.