comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Some questions about Ada.
Date: 1996/05/04
Date: 1996-05-04T00:00:00+00:00	[thread overview]
Message-ID: <dewar.831213757@schonberg> (raw)
In-Reply-To: 4me37a$ipl@krusty.irvine.com


Adam said

"I don't understand this at all.  As far as I can see, about the only
way you can be misled into thinking two different capitalizations mean
different things is if you're used to programming only in C/C++ (or
Modula).  Expecting different capitalizations to mean different things
doesn't come from experience with most other well-known programming
languages, since they don't care about case.  And it certainly can't
come from any of our other learning; if I see a word capitalized at
the beginning of a sentence, I am not misled into thinking its meaning
is different from an entirely lower-case word."

(talking about confusion arising from random casing)

I see it! I think it is terrible Ada style to be inconsistent in casing
keywords or identifiers. In fact I think it is nice if the compiler has
an option to prevent such sloppiness (when we compile in internal GNAT
mode, consistent casing is enforced).

However, I think that having case sensitivity in languages is a very
bad idea. For one thing it makes it  very difficult to talk verbally about
programs, and if people really start defining identifiers like
Time_of_Day and Time_OF_Day to mean different things, then it damages
readability badly.






  reply	other threads:[~1996-05-04  0:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-02  0:00 Some questions about Ada Carl Laurence Gonsalves
1996-05-02  0:00 ` Robert A Duff
1996-05-02  0:00 ` Dave Jones
1996-05-03  0:00   ` Spencer Allain
1996-05-03  0:00   ` Darren C Davenport
1996-05-03  0:00   ` Carl Laurence Gonsalves
1996-05-03  0:00     ` Robert A Duff
1996-05-03  0:00     ` Michael Feldman
1996-05-03  0:00     ` Dave Jones
1996-05-03  0:00     ` Adam Beneschan
1996-05-04  0:00       ` Robert Dewar [this message]
1996-05-04  0:00         ` Richard Kenner
1996-05-04  0:00           ` Robert Dewar
1996-05-05  0:00             ` Richard Kenner
1996-05-05  0:00               ` Robert Dewar
1996-05-04  0:00         ` Kevin D. Heatwole
1996-05-04  0:00         ` Robert A Duff
1996-05-04  0:00           ` Robert Dewar
1996-05-05  0:00             ` Robert A Duff
1996-05-05  0:00               ` Arthur Evans Jr
1996-05-05  0:00                 ` Robert Dewar
1996-05-05  0:00                 ` Robert Dewar
1996-05-06  0:00                   ` Norman H. Cohen
1996-05-06  0:00                     ` David Weller
1996-05-07  0:00                       ` Robert Dewar
1996-05-12  0:00                         ` Geert Bosch
1996-05-06  0:00                 ` Christopher J. Henrich
1996-05-06  0:00         ` Norman H. Cohen
1996-05-06  0:00           ` Robert Dewar
1996-05-04  0:00       ` Carl Laurence Gonsalves
1996-05-06  0:00     ` Laurent Guerby
1996-05-06  0:00   ` Matthew M. Lih
1996-05-09  0:00     ` Dave Jones
1996-05-03  0:00 ` Laurent Guerby
1996-05-03  0:00   ` Robert A Duff
replies disabled

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