comp.lang.ada
 help / color / mirror / Atom feed
From: Ben Brosgol <brosgol@world.std.com>
Subject: Re: Underscores in identifiers (was: Warning: Religious naming convention discussion :-)
Date: 1997/05/18
Date: 1997-05-18T00:00:00+00:00	[thread overview]
Message-ID: <337E87CC.9CB@world.std.com> (raw)
In-Reply-To: EAA7u8.Do0@world.std.com


Robert A Duff wrote:
>  ...                            There were three separate votes taken
> (which I thought was silly), on three separate issues.  Whether to allow
> (1) leading underscores, (2) two underscores in a row, or (3) trailing
> underscores.  To my astonishment, the votes came out different.  I'm not
> too sure, but I think (2) lost by a little bit, (1) lost by a greater
> margin, and (3) won by a little bit.  So the design team published the
> next version of the document allowing (3).  However, this annoyed some
> people greatly.  It was more than just the French delegation.  So,
> although I had been in favor of free use of underscores, I pushed on
> Tucker to go back to the Ada 83 rule, because (A) I thought that it was
> ludicrous to change the rule, but not change it fully, and (B) although
> the split was roughly 50-50, the people against trailing underscores
> felt much more strongly (fanatically, I would say!) than the other side,
> so we shouldn't piss people off over such an unimportant feature.  So we
> proposed this at the next meeting, and that's the way it ended up.
> ...
> >Anyway, there you are -- it's not in Ada 95 (you can guess which side
> >Robert_ Dewar_ was_ supporting_ :-)
> 
> I was on the same side as Robert.  The really annoying thing is that we
> were trying to have a good interface to C, and *leading* underscores
> would come in really handy, there.
> 
> I suppose the design team could have insisted on having our way, but we
> wanted to save our insisting for cases we felt were important enough to
> go against the majority opinion.
> 
> - Bob

Let me add my recollections, since I guess I'm responsible for stirring
up the pot here with my earlier article.  At one point in the Ada 9X
design (I think this was in mid '93 or so) we had reached a grudging
compromise allowing an identifier to include a single trailing
underscore.  Just as the embers of this issue were dying down, a member
of the design team, Offer Pazy, came along with a figurative can of
gasoline and sent out a message to the reviewers to the effect that
allowing identifiers to end with an underscore was a violation of
fundamental Ada design principles, or something to that effect.  (Offer,
if you're out there and reading this, you can confirm or deny this
point.)  In any event, there's nothing like an argument about lexical or
syntactic issues to get people's language designer juices flowing  --
some would be amazed at how much time was spent at the Villars WG9
meeting (March '94) before settling on "Adjust" for the name of the
procedure that is invoked during assignment for a controlled type -- and
it wasn't long before it was obvious that the "compromise" solution for
a single trailing underscore was unraveling.  As Bob mentioned in the
quote above, the dynamic was that noone felt passionatley in favor of
allowing more generality for underscores in identifiers, but at least
one delegation (and I think others as well) felt _extremely_ strongly
that such liberalization would seriously compromise program
readability.  So back to the Ada 83 identifier rules we reverted.  

Ben Brosgol
brosgol@aonix.com




  reply	other threads:[~1997-05-18  0:00 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-05  0:00 assign help!! Ivan Gou
1997-05-06  0:00 ` Michael F Brenner
1997-05-07  0:00   ` Charles H. Sampson
1997-05-08  0:00     ` Warning: Religious naming convention discussion :-) [was: assign help!!] John G. Volan
1997-05-09  0:00       ` Kevin Cline
1997-05-09  0:00         ` John G. Volan
1997-05-09  0:00       ` Jay Martin
1997-05-09  0:00         ` Jeff Carter
1997-05-09  0:00           ` John G. Volan
1997-05-09  0:00           ` John G. Volan
1997-05-10  0:00             ` Aaron Metzger
1997-05-11  0:00               ` Robert Dewar
1997-05-11  0:00                 ` John G. Volan
1997-05-11  0:00                 ` Robert A Duff
1997-05-12  0:00                   ` Robert Dewar
1997-05-12  0:00                     ` Robert A Duff
1997-05-12  0:00                       ` Robert Dewar
1997-05-13  0:00                         ` Robert A Duff
1997-05-13  0:00                           ` Robert Dewar
1997-05-14  0:00                             ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-05-13  0:00                           ` Kaz Kylheku
1997-05-14  0:00                             ` Kevin Cline
1997-05-14  0:00                               ` Robert Dewar
1997-05-14  0:00                             ` Robert A Duff
1997-05-13  0:00                         ` David L Brown
1997-05-13  0:00                           ` W. Wesley Groleau (Wes)
1997-05-14  0:00                           ` Robert Dewar
1997-05-12  0:00                 ` Kaz Kylheku
1997-05-11  0:00               ` Simon Wright
1997-05-12  0:00               ` John G. Volan
1997-05-10  0:00             ` Robert Dewar
1997-05-10  0:00               ` John G. Volan
1997-05-11  0:00                 ` Robert Dewar
1997-05-12  0:00                   ` Robert I. Eachus
1997-05-13  0:00                     ` Robert Dewar
1997-05-16  0:00                       ` Robert I. Eachus
1997-05-17  0:00                         ` Robert Dewar
1997-05-13  0:00                     ` John G. Volan
1997-05-12  0:00                   ` John G. Volan
1997-05-11  0:00               ` Kevin Cline
1997-05-11  0:00                 ` Robert Dewar
1997-05-12  0:00                   ` John G. Volan
1997-05-12  0:00                     ` Robert Dewar
1997-05-16  0:00                 ` Wayne Magor
1997-05-16  0:00                   ` Robert Dewar
1997-05-18  0:00                     ` Nick Roberts
1997-05-20  0:00                     ` naming convention discussion Peter Hermann
1997-05-16  0:00                   ` Warning: Religious naming convention discussion :-) [was: assign help!!] John G. Volan
1997-05-14  0:00               ` Ben Brosgol
1997-05-14  0:00                 ` naming convention: trailing underscore Peter Hermann
1997-05-14  0:00                   ` John G. Volan
1997-05-15  0:00                   ` Michael F Brenner
     [not found]                 ` <dewar.863717431@merv>
1997-05-16  0:00                   ` Warning: Religious naming convention discussion :-) [was: assign help!!] Robert A Duff
1997-05-18  0:00                     ` Ben Brosgol [this message]
1997-05-16  0:00                   ` naming convention discussion Peter Hermann
1997-05-16  0:00                     ` Robert Dewar
1997-05-20  0:00                       ` Peter Hermann
1997-05-17  0:00                   ` Warning: Religious naming convention discussion :-) [was: assign help!!] Arthur Schwarz
1997-05-17  0:00                     ` Robert Dewar
1997-05-17  0:00                       ` John G. Volan
1997-05-18  0:00                         ` Andrew Dunstan
1997-05-18  0:00                           ` Nick Roberts
1997-05-19  0:00                             ` John G. Volan
1997-05-19  0:00                             ` John G. Volan
1997-05-10  0:00             ` Kaz Kylheku
1997-05-10  0:00               ` John G. Volan
1997-05-12  0:00             ` W. Wesley Groleau (Wes)
1997-05-12  0:00               ` John G. Volan
1997-05-13  0:00                 ` W. Wesley Groleau (Wes)
1997-05-13  0:00                   ` John G. Volan
1997-05-14  0:00                     ` naming convention discussion Peter Hermann
1997-05-14  0:00                       ` John G. Volan
1997-05-14  0:00                         ` Peter Hermann
1997-05-14  0:00                           ` John G. Volan
1997-05-15  0:00                             ` Peter Hermann
1997-05-15  0:00                           ` W. Wesley Groleau (Wes)
1997-05-14  0:00                     ` Warning: Religious naming convention discussion :-) [was: assign help!!] Do-While Jones
1997-05-14  0:00                       ` Stephen Leake
1997-05-14  0:00                       ` John G. Volan
1997-05-14  0:00                         ` John G. Volan
1997-05-15  0:00                         ` Tangent to Religious naming convention discussion W. Wesley Groleau (Wes)
1997-05-15  0:00                           ` John G. Volan
1997-05-12  0:00             ` Warning: Religious naming convention discussion :-) [was: assign help!!] Jeff Carter
1997-05-12  0:00               ` John G. Volan
1997-05-10  0:00           ` Robert Dewar
1997-05-10  0:00             ` John G. Volan
1997-05-11  0:00               ` Robert Dewar
1997-05-12  0:00                 ` John G. Volan
1997-05-12  0:00               ` W. Wesley Groleau (Wes)
1997-05-12  0:00             ` W. Wesley Groleau (Wes)
1997-05-12  0:00               ` John G. Volan
1997-05-11  0:00           ` Doug Smith
1997-05-12  0:00           ` Tom Moran
1997-05-16  0:00           ` Wayne Magor
1997-05-16  0:00             ` John G. Volan
1997-05-17  0:00             ` Kevin Cline
1997-05-19  0:00               ` Doug Smith
1997-05-09  0:00         ` John G. Volan
1997-05-12  0:00       ` W. Wesley Groleau (Wes)
1997-05-12  0:00         ` John G. Volan
1997-05-12  0:00         ` John G. Volan
1997-05-10  0:00     ` assign help!! Simon Wright
1997-05-14  0:00       ` Nick Roberts
replies disabled

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