comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.
Subject: Re: Ada Operators in 9x
Date: 25 Jun 93 21:03:33 GMT	[thread overview]
Message-ID: <20fp75INNk3l@umbc4.umbc.edu> (raw)

emery@goldfinger.mitre.org (David Emery) writes:

>On the other hand, it's a source of great frustration to have to work
>off syntax errors because you forgot the cApitalization conventioN.

Exactly. I heard a good rule of thumb yesterday - code should be written
so that it can be read and understood over the phone. Not that one would
do this, but the idea is that our memory seems more closely tied to what
we hear and verbalize, not what we see (actually, the sense of smell is
most effectively tied into memory, but that doesn't help just yet).

In other words, identifiers should have a unique pronunciation.
The presence of unique identifiers which differ only by their case
results in code that is harder to understand (and therefore maintain).

On a related issues, I have also heard (and believe) that mixed case is
easier to read than all upper or all lower. We tend to recognize words
by their shape moreso than their spelling. SINCE ALL UPPER CASE IS MORE
OF A BLOCK-LIKE STRUCTURE, IT IS INCREMENTALLY HARDER FOR THE BRAIN TO
"SEE" WHAT IS WRITTEN. Mixed case has more of an inherent "shape". Plus,
it seems like I'm yelling when I write in all uppers.

This has strayed from a mainline Ada discussion, but it sure beats
griping about DoD policy for once.

-- 
Mike Berman
University of Maryland, Baltimore County     Fastrak Training, Inc.
berman@umbc.edu                              (301)924-0050
       The views represented in the above post are my own.

             reply	other threads:[~1993-06-25 21:03 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-25 21:03 cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland. [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-07-09 16:51 Ada Operators in 9x Robert I. Eachus
1993-07-08 22:18 Laurence VanDolsen
1993-07-02 18:14 munck
1993-07-01 21:43 Dave Bashford
1993-07-01 15:39 Robert I. Eachus
1993-07-01 12:54 agate!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.ed
1993-07-01 10:28 agate!howland.reston.ans.net!darwin.sura.net!dtix.dt.navy.mil!relay-wo!re
1993-06-30 23:06 Robert I. Eachus
1993-06-30 17:41 agate!howland.reston.ans.net!darwin.sura.net!dtix.dt.navy.mil!relay-wo!re
1993-06-30 16:23 cis.ohio-state.edu!math.ohio-state.edu!darwin.sura.net!source.asset.com!v
1993-06-30 15:24 Charles H. Sampson
1993-06-28 23:37 Mark A Biggar
1993-06-28  7:13 ghost.dsi.unimi.it!univ-lyon1.fr!scsing.switch.ch!epflnews!disuns2.epfl.c
1993-06-27  8:26 Stephen J Bevan
1993-06-27  1:03 Kenneth Anderson
1993-06-26 15:43 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!agate!doc.i
1993-06-26 15:19 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!agate!doc.i
1993-06-25 21:12 Michael Feldman
1993-06-25 20:56 Rahul Dhesi
1993-06-25 20:44 David Emery
1993-06-24 14:14 Joe Hildebrand
1993-06-22 13:01 cis.ohio-state.edu!math.ohio-state.edu!darwin.sura.net!cs.ucf.edu!longwoo
1993-06-21 22:14 Mike Berman
replies disabled

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