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:11:17 -0500
Date: 2013-01-05T09:11:17-05:00	[thread overview]
Message-ID: <85623bsosa.fsf@stephe-leake.org> (raw)
In-Reply-To: lybod4x0h3.fsf@pushface.org

Simon Wright <simon@pushface.org> writes:

> 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.
>
> I like my IDE (Emacs) to capitalise for me, and this would need so many
> case exceptions that it'd become impractical.

Unless you add a dictionary of verbs/nouns. Maybe automated lookup into
the on-line OED - do they have an API? A lot of work for very little
gain! But it would be cool if it worked :)

Which reminds me; we need a simpler keybinding for "make this word a
case exception".

-- 
-- Stephe



  parent reply	other threads:[~2013-01-05 14:11 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 [this message]
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