comp.lang.ada
 help / color / mirror / Atom feed
From: nickerson@pundit.ds.boeing.com ()
Subject: Re: Case for case-sensitivity (Was: Three simple questions)
Date: 2000/10/14
Date: 2000-10-14T00:00:00+00:00	[thread overview]
Message-ID: <G2FuBE.J9K@news.boeing.com> (raw)
In-Reply-To: D4BEB678D89A64A9.0BF2E74EC8861347.89ADE1DE3BC27E76@lp.airnews.net


In article <D4BEB678D89A64A9.0BF2E74EC8861347.89ADE1DE3BC27E76@lp.airnews.net>, 
Frank Christiny <fchris@pdq.net> writes:

|>> >
|>> >    In the Company of my friend.       In the company of my friend.
|>> >    Ada presentation today.            ADA presentation today.
|>> >    Standing by the Bank.              Standing by the bank.
..
|>      The point was to emphasize that for a human parser, the
|>   sentences are different.  Even without the context they are very
|>   different.  (The river could hardly be expected to have a Bank,
|>   unless it's the "Left Bank" of course).  The same is true in a
|>   case-sensitive language.  You can do "lazy" stuff like that there,
|>   such as I mentioned earlier; and, without regard for the context.

yes, we have human parsers and computer parsers; that is the real 
point I believe; humans do better with this kind of context than 
computers do; consider complexity however; the fact is that humans 
also do a poor job at times, get confused, and get overwhelmed 
by complexity that would never faze a computer; confusion while 
programming is a very bad thing; so we simplify and wipe out an 
annoying set of errors by going with a case-insensitve language;

meaningful names aside, how clever would it be to use as my variables 
the 5 character, all {a,A}; that gives me 2**5=32 choices which is
plenty for local variables {aaaaa,aaaaA,aaaAa,aaaAA, ..., AAAAA};
horrid cleverness perhaps for a person and trivial for the machine; 

previous points on valuing the reader over the writer are also well 
taken; (aside: if we're so good parsing then why are there so many 
Usenet misunderstandings and why did emoticons get invented;)

|>      Sure, but you missed the point again.  The language does look
|>   confusing to a case-sensitive newcomer.  I guess the same happens
|>   going the other way around.  In any case, thanks to all of you
|>   guys' input I've begun to see the rationale behind
|>   case-insensitivity and, most of all, I recognize it seems to work.
|>   It shows to what extent Adaites would go to avert preventable
|>   errors.  Now, all I need to do is get used to it...
|>-- 
|>Frank Christiny                       fchris@pdq.net
|>Sr. Software Engineer                 Lockheed Martin Space Operations
|>Houston, Texas, USA                   http://freeweb.pdq.net/fchris/

each language does take some getting used to; I used FORTRAN and
PL/I and had never considered case sensitivity before being exposed
to C on the VAX; the first time I got bitten with i /= I amazed 
naive me; but then it takes a while to believe that it's ok to program 
in lower case RATHER THAN EVERYTHING BUT PRINTED "Error Messages" IN 
UPPER CASE; (which humorously brings me back to emoticons - nowdays 
this is always derided as shouting rather than being a STYLE);

--bn (Bart Nickerson)
nickerson@pundit.ds.boeing.com
(206) 662-0183




  parent reply	other threads:[~2000-10-14  0:00 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-09  0:00 Three simple questions Frank Christiny
2000-10-09  0:00 ` John McCabe
2000-10-09  0:00   ` Frank Christiny
2000-10-10  0:00     ` Larry Kilgallen
2000-10-10  0:00       ` Case for case-sensitivity (Was: Three simple questions) Frank Christiny
2000-10-10  0:00         ` Ted Dennison
2000-10-10  0:00         ` David Starner
2000-10-12  0:00           ` John English
2000-10-10  0:00         ` David C. Hoos, Sr.
2000-10-10  0:00         ` tmoran
2000-10-10  0:00         ` mjsilva
2000-10-10  0:00           ` John Magness
2000-10-11  0:00         ` John English
2000-10-11  0:00           ` Frank Christiny
2000-10-12  0:00             ` Larry Kilgallen
2000-10-14  0:00             ` nickerson [this message]
2000-10-15  1:48               ` Robert Dewar
2000-10-15  0:00                 ` Jean-Pierre Rosen
2000-10-11  0:00         ` dmitry6243
2000-10-11  4:39         ` Ken Garlington
2000-10-10  0:00     ` Three simple questions John English
2000-10-10  0:00       ` Dale Stanbrough
2000-10-10  0:00         ` John English
2000-10-10  0:00           ` Ted Dennison
2000-10-11  0:00             ` Tucker Taft
2000-10-11  0:00               ` Ted Dennison
2000-10-12  0:00                 ` Tucker Taft
2000-10-12  0:00                   ` The AI process (was: Three simple questions) Ted Dennison
2000-10-12  0:00                     ` Marc A. Criley
2000-10-12  0:00                       ` Tucker Taft
2000-10-16  0:00                   ` Three simple questions Robert A Duff
2000-10-10  0:00         ` Larry Kilgallen
2000-10-11  0:11       ` wv12
2000-10-10  0:00         ` Larry Kilgallen
2000-10-14  3:25           ` Robert Dewar
2000-10-15  0:00             ` The Ludwig Family
2000-10-16  0:00               ` Florian Weimer
2000-10-17  0:00                 ` David Starner
2000-10-18  0:00                   ` Florian Weimer
2000-10-19  0:00                     ` David Starner
2000-10-21  0:00                       ` Robert Dewar
2000-10-21  0:00                         ` David Starner
2000-10-23  0:00                           ` Robert A Duff
2000-10-28 11:00                             ` Robert Dewar
2000-10-28 10:56                           ` Robert Dewar
2000-10-28 10:57                           ` Robert Dewar
2000-10-21  0:00                     ` Robert Dewar
2000-10-21  0:00                       ` David Starner
2000-10-16  3:10               ` Robert Dewar
2000-10-17  0:00                 ` The Ludwig Family
2000-10-16  0:00             ` Robert A Duff
2000-10-16  0:00             ` James Hassett
2000-10-16  0:00               ` Robert Dewar
2000-10-16  0:00               ` Robert Dewar
2000-10-11  0:00         ` mjsilva
2000-10-11  0:00         ` John English
2000-10-11  0:00           ` Pascal Obry
2000-10-11  0:00         ` David Gillon
2000-10-11  2:12         ` DuckE
2000-10-10  0:47   ` Larry Elmore
2000-10-10  1:16     ` Ed Falis
2000-10-11  3:47       ` Jeff Carter
2000-10-13  0:00         ` Philippe Torres
2000-10-13  0:00   ` Stefan Skoglund
2000-10-10  0:00 ` Pascal Obry
2000-10-11  3:59   ` Jeff Carter
2000-10-14  0:00   ` Keith Thompson
2000-10-10  0:42 ` Ken Garlington
2000-10-11  0:00 ` Pat Rogers
2000-10-11  0:00 ` Marin David Condic
2000-10-13  0:00   ` Keith Thompson
2000-10-13  0:00     ` Marin David Condic
2000-10-13  0:00       ` Wes Groleau
     [not found]         ` <39EAEEEA.4F58C47C@cepsz.unizar.es>
2000-10-16  0:00           ` David Starner
2000-10-16  0:00             ` Robert A Duff
2000-10-16  0:00               ` Larry Kilgallen
2000-10-16  0:00                 ` Florian Weimer
2000-10-17  0:43                 ` Robert Dewar
2000-10-17  0:00                   ` Larry Kilgallen
2000-10-17  0:00                     ` Florian Weimer
2000-11-03  7:24                   ` E. E. Cummings (was Re: Three simple questions) Robert I. Eachus
2000-10-17  0:00               ` Three simple questions Keith Thompson
2000-10-17  0:00             ` Wes Groleau
2000-10-14  0:37       ` Ken Garlington
2000-10-14  0:00   ` Richard Kenner
2000-10-14  0:00     ` Laurent Guerby
2000-10-16  0:00       ` Robert A Duff
2000-10-16  0:00         ` Laurent Guerby
2000-10-17  0:00           ` Ronald Cole
2000-10-17  0:00         ` Wes Groleau
2000-10-14  0:00     ` Marin David Condic
2000-10-11  0:00 ` Larry Hazel
2000-10-11  0:00 ` Simon Wright
2000-10-14  0:00   ` Robert Dewar
2000-10-11  0:00 ` Tucker Taft
2000-10-12  1:05   ` Bjarne Bäckström
2000-10-13  0:00     ` Anders Wirzenius
2000-10-13  0:00       ` Wes Groleau
2000-10-14  3:28         ` Robert Dewar
2000-10-13  0:00       ` Bjarne Bäckström
2000-10-16  0:00         ` Anders Wirzenius
replies disabled

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