comp.lang.ada
 help / color / mirror / Atom feed
From: haven.umd.edu!news.umbc.edu!nobody@purdue.edu  (Mike Berman)
Subject: Re: Ada Operators in 9x
Date: 21 Jun 93 22:14:37 GMT	[thread overview]
Message-ID: <205bsdINNbca@umbc4.umbc.edu> (raw)

firth@sei.cmu.edu (Robert Firth) writes:

| In article <C8yCIC.4C0@dale.cts.com> helkenn@dale.cts.com (David Helken)
| writes:

>>Can anyone from the 9x team (or anyone else for that matter) explain the
>>exclusion of user defined operator names in Adaxx?

| Sign.  A sad story.  Algol-68, you may recall, had this feature.  The

| But Algol-68 had the necessary "enabling technology": a way to distinguish
| lexically between user-defined operators and user-defined identifiers.  In
| other words, distinct upper and lower case letters.  Ada has only one 
| letter case, which is why we have those silly reserved words, and why
| it would make the compiler's life very complicated to allow arbitrary
| user-defined operators.
| 
| And the reason Ada has only one letter case?  Upward compatibility with
| junk hardware already obsolete when the requirement was written.  Yuk.

Whoa. Back up. Are you saying that case sensitivity is a good thing?
Am I missing liberally-placed smileys somewhere?

If I am interpreting this post correctly, the point is that Ada is
designed to be case-insensitive so as to support machines, such as
110-baud teletypes with oval keys, that have no mixed-case capability.
Since it's possible, however unlikely, that one may only be able to type
FRED, then Fred, fred, and frEd should all denote the same identifier.

If so, then fine, but the maintainability aspects "accidentally" derived
from this upwards compatibility decision can't be denied. While machines
excel at tracking minute details, I prefer not having to keep track of
both identifier spelling and permutations of case when reading someone
else's code.

Capabilities like the use of arbitrary identifiers as operators are
nice, but I, for one, would not revert to case sensitivity to get them.

Also, the potential for "obfuscated Ada" contests would be rather
scary...

-- 
Mike Berman
University of Maryland, Baltimore County     Fastrak Training, Inc.
berman@umbc.edu                              (301)924-0050
       The views represented in the above post are my own.

             reply	other threads:[~1993-06-21 22:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-21 22:14 Mike Berman [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-06-22 13:01 Ada Operators in 9x cis.ohio-state.edu!math.ohio-state.edu!darwin.sura.net!cs.ucf.edu!longwoo
1993-06-24 14:14 Joe Hildebrand
1993-06-25 20:44 David Emery
1993-06-25 20:56 Rahul Dhesi
1993-06-25 21:03 cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.
1993-06-25 21:12 Michael Feldman
1993-06-26 15:19 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!agate!doc.i
1993-06-26 15:43 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!agate!doc.i
1993-06-27  1:03 Kenneth Anderson
1993-06-27  8:26 Stephen J Bevan
1993-06-28  7:13 ghost.dsi.unimi.it!univ-lyon1.fr!scsing.switch.ch!epflnews!disuns2.epfl.c
1993-06-28 23:37 Mark A Biggar
1993-06-30 15:24 Charles H. Sampson
1993-06-30 16:23 cis.ohio-state.edu!math.ohio-state.edu!darwin.sura.net!source.asset.com!v
1993-06-30 17:41 agate!howland.reston.ans.net!darwin.sura.net!dtix.dt.navy.mil!relay-wo!re
1993-06-30 23:06 Robert I. Eachus
1993-07-01 10:28 agate!howland.reston.ans.net!darwin.sura.net!dtix.dt.navy.mil!relay-wo!re
1993-07-01 12:54 agate!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.ed
1993-07-01 15:39 Robert I. Eachus
1993-07-01 21:43 Dave Bashford
1993-07-02 18:14 munck
1993-07-08 22:18 Laurence VanDolsen
1993-07-09 16:51 Robert I. Eachus
replies disabled

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