comp.lang.ada
 help / color / mirror / Atom feed
From: agate!howland.reston.ans.net!darwin.sura.net!dtix.dt.navy.mil!relay-wo!re lay!apssgi.nswc.navy.mil!bwallet@ucbvax.Berkeley.EDU  (Brad Wallet)
Subject: Re: Ada Operators in 9x
Date: 30 Jun 93 17:41:16 GMT	[thread overview]
Message-ID: <1993Jun30.174116.24785@relay.nswc.navy.mil> (raw)

In article <1993Jun30.152449.7443@nosc.mil>, sampson@nosc.mil (Charles H. Samps
on) writes:
|> In article <BEVAN.93Jun27092606@hippo.cs.man.ac.uk> bevan@cs.man.ac.uk (Step
hen J Bevan) writes:
|> >In article <9306261803.aa04612@Paris.ics.uci.edu> kanderso@liege.ICS.UCI.ED
U (Kenneth Anderson) writes:
|> >   >Mike Feldman wrote:
|> >   >   Suppose you _meant_ to write "q := 35;" but instead hit the shift
|> >   >   key accidentally and wrote "Q := 35;"
|> >
|> >   >Then you'd be doubly dumb.  Once for declaring "q" and "Q" in the same
|> >   >block and twice for being sloppy about typing.
|> >
|> >   You can't really mean the latter.  A person is "dumb" if they make
|> >   a typing mistake?
|> >
|> >That's your inference, not my implication.  Do you think it is a good
|> >idea to define "Q" and "q" in the same block?  ...
|> 
|>      How about this scenario?  Q is declared in a package specification. 
|> The programmer declares q in a piece of code that uses that package.  (The
|> project is large enough that programmers are not expected to know all iden-
|> tifiers in all package specifications; only those that are of interest to
|> their area.  This is the strength of the hierarchical declaration struc-
|> ture.)
|> 
|>      If you dislike this example because it relies on the use clause, cast
|> it in one of the contexts where the use clause is necessary.  Another pos-
|> sibility is declaring Q as a package regional identifier and q in a sepa-
|> rately compiled subunit.
|> 
|>      If you dislike "Q" and "q", substitute any reasonable short project-
|> specific identifier.
|> 
|>                               Charlie
|> 

no, i think you all are missing point behind making Ada case sensitive.
since the original statement was that case sensitivity would allow for
more uniform coding standards enforcement by the language, i think the
implementation would be something like all reserved words must be
written in lower case and other stuff must be all caps.  that's part of
our coding standards.  this would make perfect sense.  u could go one
further and say that single, lower case letters could be used as programmer
defined operators.  remember, this thread began with a discussion of
overloaded operators.

adding case sensitivity just to added it would not make any sense, but
adding it force code uniformity would be withing the original purpose
of Ada.

brad

             reply	other threads:[~1993-06-30 17:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-30 17:41 agate!howland.reston.ans.net!darwin.sura.net!dtix.dt.navy.mil!relay-wo!re [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 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 21:03 cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.
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