comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Three simple questions
Date: 2000/10/11
Date: 2000-10-11T11:47:57+00:00	[thread overview]
Message-ID: <un1gbh9x7.fsf@wanadoo.fr> (raw)
In-Reply-To: 39E434F7.36E914B8@bton.ac.uk


John English <je@bton.ac.uk> writes:

> wv12@my-deja.com wrote:
> > 
> > In article <39E2D51E.D0122F20@bton.ac.uk>,
> > 
> > > I'm dead against case sensitivity. For example, in Java you not only
> > > have to remember a zillion API calls to do anything useful, you also
> > > have to remember how they're capitalised. The Java rule is that class
> > > names have EachWordCapitalised (or is that EachWordCapitalized? :-),
> > > which is fine when you can remember whether "run time" is one word
> > > or two (is it RuntimeException or RunTimeException?).
> > 
> > Case sensitivity enforces consistency among code produced by different
> > programmmers. Imagine programmer A insists on writing runTimeeXception
> > and programmer B insits writing runtimeexcception. Maybe you  yourself
> > on Monday decides to write runtimeException and on Tuesday,
> > RUNTIMEEXCEPTION. Now, that is sick. Well, if you can do anything
> > *useFUl* in Ada, you don't have to write it in Java.
> 
> So what's wrong with running a prettyprinter over the code? Any
> sensible prettyprinter will not only enforce a layout standard,
> it'll enforce a capitalisation standard (turn runtime_exception
> into Runtime_Exception)? Software tools are supposed to make life
> easier, not harder (although there are many counter-examples ;-)

Definitly such tool exist. I always use the GNAT -gnaty switch now. It is
very good to have the compiler checking for source consistency. Also GLIDE
do capitalize things automatically. You can like the way the capitalization is
done (mostly using the RM convention) or not, at least it is done
consistently !

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"




  reply	other threads:[~2000-10-11  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     ` John English
2000-10-10  0:00       ` Dale Stanbrough
2000-10-10  0:00         ` Larry Kilgallen
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-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             ` James Hassett
2000-10-16  0:00               ` Robert Dewar
2000-10-16  0:00               ` Robert Dewar
2000-10-16  0:00             ` Robert A Duff
2000-10-11  0:00         ` John English
2000-10-11  0:00           ` Pascal Obry [this message]
2000-10-11  0:00         ` mjsilva
2000-10-11  0:00         ` David Gillon
2000-10-11  2:12         ` DuckE
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         ` David C. Hoos, Sr.
2000-10-10  0:00         ` mjsilva
2000-10-10  0:00           ` John Magness
2000-10-10  0:00         ` tmoran
2000-10-10  0:00         ` David Starner
2000-10-12  0:00           ` John English
2000-10-10  0:00         ` Ted Dennison
2000-10-11  0:00         ` dmitry6243
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
2000-10-15  1:48               ` Robert Dewar
2000-10-15  0:00                 ` Jean-Pierre Rosen
2000-10-11  4:39         ` Ken Garlington
2000-10-10  0:47   ` Three simple questions 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 ` Larry Hazel
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 ` 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
2000-10-11  0:00 ` Simon Wright
2000-10-14  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