comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: friend classes in ada95
Date: 2000/04/18
Date: 2000-04-18T00:00:00+00:00	[thread overview]
Message-ID: <8dgk3m$aj7$1@nnrp1.deja.com> (raw)
In-Reply-To: 38FB8556.4EACD391@earthlink.net

In article <38FB8556.4EACD391@earthlink.net>,
  "Robert I. Eachus" <rieachus@earthlink.net> wrote:
> (To me the silliest of the issues with
> such potential was
> about whether or not to allow leading underscores in
> identifiers...)

Silly enough for you to have forgotten the issue :-) The issue
was whether to treat underscores as letters in identifiers,
removing the restrictions on the use of underscores. Actually
the example most often used was a trailing underscore, but the
general ability to mirror c identifiers such as a__b was also
an issue.

> IMHO, the changed to the treatment of abstract made at a later
> Boston meeting probably would not have been possible with the
> syntax proposed by Jean Ichbiah.

That's plain wrong, or a misunderstanding, the notation

  class type x is record ...

as simply a syntactic transformation of

  type x is tagged record ...

is completely neutral with respect to such changes (indeed
an Ada 95 compiler today could if it liked accept the first
time as a source representation of the second form (though
this kind of stretching of the notion of source representation
is considered unsporting, even if allowed by the RM :-)

 To change the meaning of class as a technical
> term would require significant additional work by the Language
Design
> Team--unless they were allowed to unify the existing class
hierarchy and
> the new class constructs.  But this had been explicitly
considered and
> rejected much earlier in the design process.  So those arguing
for class
> as a keyword had to justify the extra effort.


TO use this as an argument against the class syntax suggestion
is allowing best to be the enemy of good. The class syntax
could perfectly well be introduced without changing the notion
of classes.

After all, to most Ada 95 programmers

  type x is tagged record ...

introduces a new class called x anyway, sure I know that is
not quite right, but there are lots of cases where informal
usage does not match the RM :-)


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-04-18  0:00 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-14  0:00 friend classes in ada95 Stefan Folkesson
2000-04-14  0:00 ` John J. Rusnak
2000-04-14  0:00 ` swhalen
2000-04-14  0:00 ` Florian Weimer
2000-04-14  0:00   ` Stefan Folkesson
2000-04-14  0:00 ` Julian Day
2000-04-14  0:00   ` Steve Folly
2000-04-14  0:00     ` Robert A Duff
2000-04-17  0:00       ` John J. Rusnak
2000-04-18  0:00         ` Vincent Marciante
2000-04-18  0:00           ` John Rusnak
2000-04-18  0:00       ` Steve Folly
2000-04-15  0:00 ` Jeff Carter
2000-04-16  0:00   ` Robert Dewar
2000-04-16  0:00     ` David Botton
2000-04-17  0:00       ` Robert Dewar
2000-04-17  0:00         ` David Botton
2000-04-17  0:00         ` David Botton
2000-04-18  0:00           ` friend classes in ada95 (long) tmoran
2000-04-18  0:00             ` David Botton
2000-04-18  0:00               ` friend classes in ada95 Stanley R. Allen
2000-04-19  0:00               ` friend classes in ada95 (long) Brian Rogoff
2000-04-19  0:00                 ` Hyman Rosen
2000-04-19  0:00                   ` Brian Rogoff
2000-04-23  0:00                     ` Hyman Rosen
2000-04-23  0:00                       ` Brian Rogoff
2000-04-24  0:00                         ` Hyman Rosen
2000-04-25  0:00                           ` Brian Rogoff
2000-04-25  0:00                             ` Ole-Hjalmar Kristensen
2000-04-19  0:00                 ` David Botton
2000-04-19  0:00               ` MI, was Re: friend classes in ada95 tmoran
2000-04-19  0:00                 ` David Botton
2000-04-18  0:00       ` Geoff Bull
2000-04-18  0:00         ` David Botton
2000-04-18  0:00         ` Jean-Pierre Rosen
2000-04-18  0:00           ` tmoran
2000-04-18  0:00             ` John J. Rusnak
2000-04-19  0:00               ` Robert Dewar
2000-04-19  0:00               ` Geoff Bull
2000-04-19  0:00                 ` David Botton
2000-04-19  0:00                   ` Robert Dewar
2000-04-19  0:00                   ` Robert Dewar
2000-04-20  0:00                     ` Geoff Bull
2000-04-19  0:00                 ` Ehud Lamm
2000-04-19  0:00                 ` Jeff Susanj
2000-04-19  0:00                   ` Bill Greene
2000-04-19  0:00                   ` Robert Dewar
2000-04-19  0:00                     ` Jeff Carter
2000-04-19  0:00                       ` Ray Blaak
2000-04-20  0:00                         ` Robert Dewar
2000-04-20  0:00                           ` Ray Blaak
2000-04-20  0:00                             ` Charles Hixson
2000-04-21  0:00                               ` Jean-Pierre Rosen
2000-04-29  0:00                                 ` Aidan Skinner
2000-04-29  0:00                                   ` Robert I. Eachus
2000-04-21  0:00                               ` Jon S Anthony
2000-04-20  0:00                         ` Jean-Pierre Rosen
2000-04-20  0:00                           ` Robert Dewar
2000-04-20  0:00                             ` BSCrawford
2000-04-20  0:00                             ` Jean-Pierre Rosen
2000-04-20  0:00                             ` Brian Rogoff
2000-04-20  0:00                           ` Ray Blaak
2000-04-20  0:00                             ` Jean-Pierre Rosen
2000-04-24  0:00                               ` Ray Blaak
2000-04-20  0:00                       ` Robert Dewar
2000-04-20  0:00                         ` Jeff Carter
2000-04-21  0:00                           ` Robert Dewar
2000-04-21  0:00                             ` Jon S Anthony
2000-04-22  0:00                               ` Robert Dewar
2000-04-21  0:00                             ` Ken Garlington
2000-04-19  0:00                   ` tmoran
2000-04-19  0:00                 ` Robert Dewar
2000-04-19  0:00               ` Jean-Pierre Rosen
2000-04-18  0:00           ` Pascal Obry
2000-04-18  0:00           ` David Botton
2000-04-18  0:00           ` John Rusnak
2000-04-19  0:00             ` Robert Dewar
2000-04-16  0:00     ` Jeff Carter
2000-04-16  0:00       ` David Botton
2000-04-17  0:00         ` Robert Dewar
2000-04-17  0:00           ` Hyman Rosen
2000-04-17  0:00             ` Robert Dewar
2000-04-17  0:00     ` Robert I. Eachus
2000-04-18  0:00       ` Robert Dewar [this message]
2000-04-19  0:00         ` Robert I. Eachus
2000-04-20  0:00           ` Robert Dewar
2000-04-20  0:00             ` Ray Blaak
2000-04-23  0:00             ` Robert I. Eachus
2000-04-19  0:00     ` Alfred Hilscher
2000-04-19  0:00       ` Ray Blaak
2000-04-19  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