comp.lang.ada
 help / color / mirror / Atom feed
From: Rod Kay <rodakay@internode.on.net>
Subject: Re: On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ?
Date: Sat, 5 Jan 2013 21:26:12 -0800 (PST)
Date: 2013-01-05T21:26:12-08:00	[thread overview]
Message-ID: <84766e99-7ca5-47f6-ac86-8ac3f61e8d1e@googlegroups.com> (raw)
In-Reply-To: <kc8cq9$fvd$1@munin.nbi.dk>

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.



  reply	other threads:[~2013-01-06  5:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04  4:27 On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ? Rod Kay
2013-01-04  4:32 ` Rod Kay
2013-01-05  1:30   ` Robert A Duff
2013-01-05  3:58     ` Rod Kay
2013-01-05 12:37       ` Simon Clubley
2013-01-06  5:29         ` Rod Kay
2013-01-05  5:13     ` Randy Brukardt
2013-01-06  5:26       ` Rod Kay [this message]
2013-01-06 22:03         ` Britt
2013-01-05 19:17     ` Georg Bauhaus
2013-01-04 16:31 ` Adam Beneschan
2013-01-04 16:52   ` AdaMagica
2013-01-05  3:41     ` Rod Kay
2013-01-11  8:01       ` John English
2013-01-11 16:48         ` Martin
2013-01-11 19:26           ` Simon Wright
2013-01-05  3:33   ` Rod Kay
2013-01-05  4:19     ` Britt
2013-01-05  5:24       ` Randy Brukardt
2013-01-05  5:18     ` Randy Brukardt
2013-01-04 18:32 ` Simon Wright
2013-01-05  3:47   ` Rod Kay
2013-01-05 14:11   ` Stephen Leake
2013-01-05 18:19     ` Simon Wright
2013-01-09  8:21       ` ada-mode create case exception Stephen Leake
2013-01-11 16:16         ` Simon Wright
2013-01-13 23:13           ` Stephen Leake
2013-01-05 14:06 ` On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ? Stephen Leake
2013-01-06  5:37   ` Rod Kay
2013-01-11 16:47 ` Martin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox