comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: a question of form
Date: Tue, 26 Aug 2014 10:31:03 -0700
Date: 2014-08-26T10:31:03-07:00	[thread overview]
Message-ID: <ltig8o$8dl$2@dont-email.me> (raw)
In-Reply-To: <lthbii$b0d$1@speranza.aioe.org>

On 08/26/2014 12:04 AM, Nasser M. Abbasi wrote:
> 
> lower case variables is best with _,
> 
>          like_this
> 
> I find using Upper_First_Letter not good for reading:
> 
>           Like_This

I (and most others, it seems) find Initial_Caps easier to read for all identifiers.

If sharing code with others (here on c.l.a, for example), adhering to standard
formatting as used in the ARM or the Ada Quality and Style Guide will help
insure one's code is readable to the largest number of readers.

-- 
Jeff Carter
"Run away! Run away!"
Monty Python and the Holy Grail
58

  reply	other threads:[~2014-08-26 17:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 20:33 a question of form gdotone
2014-08-25 20:56 ` Simon Clubley
2014-08-25 22:08   ` Ludovic Brenta
2014-08-26  1:06     ` gdotone
2014-08-26  7:04 ` Nasser M. Abbasi
2014-08-26 17:31   ` Jeffrey Carter [this message]
2014-08-27  5:00     ` Randy Brukardt
2014-08-27  7:17       ` AdaMagica
2014-08-28 11:56         ` G.B.
2014-08-28 13:23           ` Simon Wright
2014-08-28 14:08             ` G.B.
2014-08-28 19:26             ` Randy Brukardt
2014-08-28 20:19               ` Simon Wright
2014-08-28 20:48                 ` Simon Wright
2014-08-28 18:28           ` Jeffrey Carter
2014-08-28 19:35             ` Randy Brukardt
2014-08-29 11:55               ` G.B.
replies disabled

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