comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Case for case-sensitivity (Was: Three simple questions)
Date: 2000/10/10
Date: 2000-10-10T19:19:22+00:00	[thread overview]
Message-ID: <8rvq3q$3bi$1@hobbes2.crc.com> (raw)
In-Reply-To: FF7E28B976F0121D.F97167433B3E2BF3.4FD17582438B6D33@lp.airnews.net

There _are_ some recommendations for Ada code formatting
and style (including capitalization) in
http://www.adaic.org/docs/style-guide/95style/html/cover.html

"Frank Christiny" <fchris@pdq.net> wrote in message
news:FF7E28B976F0121D.F97167433B3E2BF3.4FD17582438B6D33@lp.airnews.net...
> Larry Kilgallen wrote:
> > By the way, your original question at the top of this page struck me
> > as quite odd.  While C/C++ uses case sensitivity, I always understood
> > that to be part of the Topsy-like development history of the Unix
> > operating system.  To me, it is case-sensitivity that should be
> > (but cannot be) rationalized, as there is never a good reason for
> > allowing TheItem and theItem to be separate variables.
>
>       Unix topsy-turvy?  Man, now you got me going   ;-)
>       As opposed to the Microsoft world, Unix is the doldrums!
>
>       You ask me for the case for case-sensitivity and John English
>    says that:
>
> >Since humans consider 'D' and 'd' to be variant representations of the
> >same letter, why shouldn't programming languages?
>
>       I can address both those questions in this post.
>
>       Not being a partisan of case-sensitivity I can nevertheless
>    assert that, first of all, Humans DO care for case sensitivity,
>    otherwise why have case-sensitivity in the grammar to begin with?
>    Consider the following "overloaded" sentences:
>
>    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.
>
>       As for the computer languages, consider this:
>
> 1. Case sensitivity allows for a greater array of variable naming
>    and semantics.  In case-insensitive languages you cannot reuse a
>    chunk of the english vocabulary because it has already been
>    "privatized".  Not only can you not use "while", but "While", or
>    "WHILE", etc.  Once you define "My_List", the type, you cannot
>    declare "my_List", the object.
>
>    (Weak point.  Of course it's weak.  I told you, I am not out
>    to convince anyone about case-sensitivity).
>
> 2. Case sensitivity standardizes the coding practice of the
>    internals.  Some Ada samples of the different practices I have
>    been able to observe just two months into my introduction to the
>    language:
>
>    WITH Ada.Text_IO               with Ada.Text_IO
>    PROCEDURE Some_Procedure       procedure Some_Procedure
>    my_int : INTEGER;              My_Int : integer;
>    BEGIN                          begin
>       NULL:                          null;
>    END Some_Procedure;            end Some_Procedure;
>
>    With Ada.Text_IO
>    procedure Some_Procedure
>    my_int : INTEGER;
>    begin
>       NULL;
>    end Some_Procedure;
>
>       The first two versions are at least self-consistent.  The
>    galling part is that the code I have to actually maintain at work
>    is the of the latter flavor!  Maybe because it was the result of
>    many tinkerers prior to me.  So, what do I do in this case?
>    Follow the manglers or establish my own personal touch, just to
>    be contrary, ah?  The language manual and rationale do not have
>    any suggestions on this regard, as far as I know.
>
>       Dis I convince you?  Of course not.  You are OK though.
>
> --
> Frank Christiny                       fchris@pdq.net
> Sr. Software Engineer                 Lockheed Martin Space Operations
> Houston, Texas, USA                   http://freeweb.pdq.net/fchris/






  parent reply	other threads:[~2000-10-10  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         ` David Starner
2000-10-12  0:00           ` John English
2000-10-10  0:00         ` Ted Dennison
2000-10-10  0:00         ` David C. Hoos, Sr. [this message]
2000-10-10  0:00         ` mjsilva
2000-10-10  0:00           ` John Magness
2000-10-10  0:00         ` tmoran
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  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         ` 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         ` David Gillon
2000-10-11  0:00         ` mjsilva
2000-10-11  0:00         ` John English
2000-10-11  0:00           ` Pascal Obry
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 ` 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     ` Marin David Condic
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-11  0:00 ` Pat Rogers
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