comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry Petrey <gdp@mlb.cca.rockwell.com>
Subject: Re: IDENTIFIERS in Upper Case
Date: 1997/03/28
Date: 1997-03-28T00:00:00+00:00	[thread overview]
Message-ID: <333BCDE9.176C@mlb.cca.rockwell.com> (raw)
In-Reply-To: mheaney-ya023680002703971831260001@news.ni.net


Matthew Heaney wrote:
> 
> In Guidelines for Enterprise-Wide GUI Design, authors Susan Weinschenk and
> Sarah C. Yeo state that "Sentances in all capital letters are 20 percent
> more difficult to read than sentences with upper- and lower-case letters.
> Avoid using all caps for large blocks of text." [p. 101]  They later state,
> when discussing online help, that one should "Never use all caps, except
> for acronyms and initializations.  Words in all caps are harder to read."
> [p. 144]
> 
> In Usability Engineering, author Jakob Nielsen states that "On alphanumeric
> terminals, UPPERCASE TEXT CASE CAN ALSO BE USED TO GET THE USERS'
> ATTENTION, but upper case should be used sparingly as it is about 10%
> slower to read than mixed-case text." [p. 118-9]
> 
> In Principles and Guidelines in Software User Interface Design, author
> Deborah J. Mayhew states "Avoid heavy use of all-uppercase letters.  Text
> in all uppercase is more difficult to read than text in mixed case.  Tullis
> (1988) reviews literature suggesting that people read mixed case text about
> 13% faster than uppercase.  This is because lowercase letters look more
> different from one another than do uppercase letters, making it easier to
> determine a word in part by its overall shape." [p. 469]
> 

The problem with most of the studies is that they address the effect of
case in normal human reading - we don't read programs in the same way
we read a novel. IMO, programmers can adapt quite well to most any
reasonable case style.  The key thing is separating identifers and
key words to bring out the structure (I still find all uppercase
identifiers
work well for that but the mixed case style seems to be more preferred
today, so I adapt).  There are many other factors that have a much
greater 
influence on readability of programs, e.g. use of white space, a good 
indentation scheme, good choices of names, etc.  Most important is some 
reasonable guidelines within an organization and a consistent use of 
those guidelines.  Expecting the entire Ada (or any other language) 
community to adhere to the same guidelines would be nice but not
realistic
 - conformity within an organization is probably the best we can
achieve.

Jerry



-- 
=====================================================================
== Jerry Petrey                                                    ==
== Consultant Software Engineer - Member Team Ada and Team Forth   ==
==            Rockwell Collins Commercial Avionics Group           ==
==            Melbourne, FL   email: gdp@mlb.cca.rockwell.com      ==
=====================================================================




  parent reply	other threads:[~1997-03-28  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-26  0:00 IDENTIFIERS in Upper Case Charles H. Sampson
1997-03-26  0:00 ` Matthew Heaney
1997-03-27  0:00 ` Jeff Burns
1997-03-27  0:00   ` Matthew Heaney
1997-03-28  0:00     ` Robert A Duff
1997-03-28  0:00       ` William Clodius
1997-03-29  0:00         ` Robert A Duff
1997-03-28  0:00       ` Tom Moran
1997-03-28  0:00     ` Robert Dewar
1997-03-28  0:00     ` Jerry Petrey [this message]
1997-03-28  0:00       ` Robert A Duff
1997-03-28  0:00         ` Robert Dewar
1997-04-09  0:00   ` Graham C. Hughes
1997-03-27  0:00 ` Michael F Brenner
1997-03-27  0:00 ` Bob Collins
1997-03-28  0:00   ` Steve Doiel
1997-03-28  0:00     ` Robert Dewar
1997-03-29  0:00       ` Doug Smith
1997-03-28  0:00     ` Robert Dewar
1997-03-29  0:00       ` Robert A Duff
1997-03-30  0:00         ` Robert Dewar
1997-04-01  0:00           ` Charles Lindsey
1997-04-03  0:00             ` John English
1997-04-04  0:00               ` Robert Dewar
1997-04-04  0:00               ` Robert Dewar
replies disabled

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