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,fd4fc3d2b22df500 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.74.135 with SMTP id t7mr7654502pav.29.1357449972792; Sat, 05 Jan 2013 21:26:12 -0800 (PST) X-Received: by 10.50.163.101 with SMTP id yh5mr731218igb.13.1357449972732; Sat, 05 Jan 2013 21:26:12 -0800 (PST) Path: s9ni79141pbb.0!nntp.google.com!b8no12861240pbd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 5 Jan 2013 21:26:12 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=150.101.201.124; posting-account=pBdvJAoAAAAbTiQ-L1tpxD99i_UttsrJ NNTP-Posting-Host: 150.101.201.124 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <84766e99-7ca5-47f6-ac86-8ac3f61e8d1e@googlegroups.com> Subject: Re: On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ? From: Rod Kay Injection-Date: Sun, 06 Jan 2013 05:26:12 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-01-05T21:26:12-08:00 List-Id: On Saturday, 5 January 2013 16:13:41 UTC+11, Randy Brukardt wrote: > > At RR Software, our style guide recommends using "Title Case" for > identifiers. That is, capitalize an identifier the same way as you would a > title. (Our pretty printer will automatically use this style if requested.) > Title-case seems an improvement to me. Combined with the 'lower-verb' style, the example would become ... procedure put_AI_Header_and_Subject (Fyle : in Ada.Text_IO.File_Type; ... ... which looks more natural, to my eye at least. > > I'm forever getting in trouble with people like Bob when I write identifiers > in this style ... Heh, as am I when people, unfamiliar with the style, first see my code. > > I think the best advice is to use whatever typographical style that makes > sense in your organization. But try to make sure that everyone that works on > a project uses the same style! It's that consistency that counts most, not > the details. > Good advice.