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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.stack.nl!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: a question of form Date: Wed, 27 Aug 2014 00:00:47 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <8f4fc25e-2039-429c-a5d5-97c450b87078@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1409115648 5506 69.95.181.76 (27 Aug 2014 05:00:48 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 27 Aug 2014 05:00:48 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: news.eternal-september.org comp.lang.ada:21926 Date: 2014-08-27T00:00:47-05:00 List-Id: "Jeffrey Carter" wrote in message news:ltig8o$8dl$2@dont-email.me... > On 08/26/2014 12:04 AM, Nasser M. Abbasi wrote: >> >> lower case variables is best with _, >> >> like_this >> >> I find using Upper_First_Letter not good for reading: >> >> Like_This > > I (and most others, it seems) find Initial_Caps easier to read for all > identifiers. I've always used title capitalization for identifiers. That is, capitalize them like a title (which is almost, but not quite the same as Initial_Caps). Thus, Good_and_Bad rather than Good_And_Bad. This gets me into trouble with the RM, because that requires capitalizing words that one *never* capitalizes in English. Personally, I think most people use all Initial_Caps because it does not require thinking (and thus it can be enforced with a simple tool -- although title case isn't hard to enforce with a tool, one just needs a list of the words that aren't capitalized [the Janus/Ada pretty printer supports title case identifiers that way]). Randy.