comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ?
Date: Sat, 05 Jan 2013 09:06:47 -0500
Date: 2013-01-05T09:06:47-05:00	[thread overview]
Message-ID: <8538yfg1vs.fsf@stephe-leake.org> (raw)
In-Reply-To: ebe4dd4a-3473-4d3f-9cbd-72e1d5805ae8@googlegroups.com

Rod Kay <rodakay@internode.on.net> writes:

>    declare
>       package Integer_Vectors is new Ada.Containers.Vectors (Positive, Integer);
>       
>       Integers : Integer_Vectors.Vector;
>    begin
>       Integers.reserve_Capacity;
>       Integers.clear;
>    end;
>
>
>    The idea is to only capitalise the noun parts of the procedure
>    name. It's a minor thing I guess, yet I find code a little easier
>    to read when used.
>
>    So any thoughts ? ... good, bad or ugly ?

If you can teach Emacs and/or GPS to do this automatically, it might be
useful. (It would be a big job; you'd need a good dictionary or
something similar).

Otherwise, it's a non-starter; it's too small an issue to spend
time/brain power on.

-- 
-- Stephe



  parent reply	other threads:[~2013-01-05 14:06 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
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 ` Stephen Leake [this message]
2013-01-06  5:37   ` On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ? 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