comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ?
Date: Fri, 4 Jan 2013 08:31:09 -0800 (PST)
Date: 2013-01-04T08:31:09-08:00	[thread overview]
Message-ID: <c33511d3-b120-4a75-aa64-8a2ea7d46257@googlegroups.com> (raw)
In-Reply-To: <ebe4dd4a-3473-4d3f-9cbd-72e1d5805ae8@googlegroups.com>

On Thursday, January 3, 2013 8:27:42 PM UTC-8, Rod Kay wrote:
> Hi folks,
> 
>    I've been trialling this style and come to like it. An example would be ...

>    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.

That would make sense if German is your first language, I suppose.  To me, whose main language is (American) English, it just looks a little weird, aesthetically.  But I don't find it either easier or more difficult to read either way.

Just my 2 Pfennig,

                             -- Adam



  parent reply	other threads:[~2013-01-04 16:31 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 [this message]
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