comp.lang.ada
 help / color / mirror / Atom feed
From: Wesley Groleau <wesgroleau@despammed.com>
Subject: Re: Case dependence and coding standards
Date: Thu, 05 Jun 2003 12:41:44 -0500
Date: 2003-06-05T12:41:44-05:00	[thread overview]
Message-ID: <46-dncr185gHHEKjXTWcqg@gbronline.com> (raw)
In-Reply-To: <slrnbduorq.88r.randhol+abuse@kiuk0152.chembio.ntnu.no>


>>This could be formatted to look nicely ordered like
>>
>>      north : Positive range       0 .. 90;   -- stops at north pole
>>      west  : Positive range       0 .. 360;  -- around the earth
>>      depth : Integer  range -20_000 .. 0;    -- below the sea
> 
> I would have done:
> 
>        north : Positive range 0 .. 90;          -- stops at north pole
>        west  : Positive range 0 .. 360;         -- around the earth
>        depth : Integer  range -20_000 .. 0;     -- below the sea
> 
And I would have done:

    north : Positive range       0 ..  90;   -- stops at north pole
    west  : Positive range       0 .. 360;   -- around the earth
    depth : Integer  range -20_000 ..   0;   -- below the sea

But now we're getting a little bit picky.

There was a valid point that "searching" and "reading"
take different skills.  Indeed, it has been empirically
shown that searching is easier with ALL UPPER CASE
while reading is easier with mixed case.

But declarations are far more often used for searching than reading.
Even for reading, more often, tables are easier, I think.  (I don't
have empirical studies, though.)  The layout reduces the mental energy
in identifying the parts of the lookup.




  reply	other threads:[~2003-06-05 17:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-03  5:05 Case dependence and coding standards Fionn mac Cuimhaill
2003-06-03 17:31 ` Robert A Duff
2003-06-03 17:46   ` Vinzent Hoefler
2003-06-03 19:04     ` Robert A Duff
2003-06-03 23:37       ` Randy Brukardt
2003-06-04  2:39         ` Wesley Groleau
2003-06-04 13:28           ` Georg Bauhaus
2003-06-04 15:44             ` Preben Randhol
2003-06-04 22:32             ` Wesley Groleau
2003-06-05 12:01               ` Georg Bauhaus
2003-06-05 15:36                 ` Preben Randhol
2003-06-05 17:41                   ` Wesley Groleau [this message]
2003-06-05 17:47                     ` Preben Randhol
2003-06-05 17:51                       ` Preben Randhol
2003-06-05 18:32                 ` Wesley Groleau
2003-06-06  8:58                   ` Georg Bauhaus
2003-06-07  0:53                     ` Wesley Groleau
2003-06-10 15:05                       ` Georg Bauhaus
2003-06-05 17:32               ` Wesley Groleau
2003-06-05 17:43                 ` Preben Randhol
2003-06-04  8:39       ` Vinzent Hoefler
2003-06-04 16:32         ` Stephen Leake
2003-06-05  1:27           ` Robert I. Eachus
2003-06-05  7:47           ` Vinzent Hoefler
2003-06-05 17:47             ` Stephen Leake
2003-06-05 19:43               ` Wesley Groleau
2003-06-06  9:27               ` Georg Bauhaus
2003-06-06 10:29                 ` Preben Randhol
2003-06-03 19:38   ` Stephen Leake
  -- strict thread matches above, loose matches on Subject: below --
2003-06-04 17:00 Lionel.DRAGHI
replies disabled

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