comp.lang.ada
 help / color / mirror / Atom feed
From: Britt <britt.snodgrass@gmail.com>
Subject: Re: On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ?
Date: Sun, 6 Jan 2013 14:03:42 -0800 (PST)
Date: 2013-01-06T14:03:42-08:00	[thread overview]
Message-ID: <c597fd64-9e6e-4efc-86a8-839bbc5a513a@googlegroups.com> (raw)
In-Reply-To: <84766e99-7ca5-47f6-ac86-8ac3f61e8d1e@googlegroups.com>

On Sunday, January 6, 2013 12:26:12 AM UTC-5, Rod Kay wrote:
 
>    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.


After thinking about why your proposal looks bad to me I realized that I always regard the name of a subprogram as a singular proper noun (rather than a sentence in itself) because it is used in the source code as a proper name. E.g.

  procedure Run_Very_Quickly (Direction : in Direction_Type) is ...

and, at the point of use:

  Run_Very_Quickly (Direction => North_By_Northwest);

it is the _name_ of the procedure and should be capitalized as a name (proper noun).



  reply	other threads:[~2013-01-06 22:03 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
2013-01-06 22:03         ` Britt [this message]
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