comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Some questions about Ada.
Date: 1996/05/03
Date: 1996-05-03T00:00:00+00:00	[thread overview]
Message-ID: <Dqtzxv.HvJ@world.std.com> (raw)
In-Reply-To: 4xrat20zh0.fsf@leibniz.enst-bretagne.fr


In article <4xrat20zh0.fsf@leibniz.enst-bretagne.fr>,
Laurent Guerby <Laurent.Guerby@enst-bretagne.fr> wrote:
>Robert A Duff writes
>: In article <DqrD2C.Jyr@undergrad.math.uwaterloo.ca>,
>[deleted]
>: Ada/Modula-3 way is better.  Some think the C++/Smalltalk way is better.
>                                                  ^^^^^^^^^
>
>   Do you mean Eiffel here ? I don't  see C++ closer to Smalltalk than
>Ada or Modula-3, in fact, Smalltalk is very close to Smalltalk ;-).

I meant Smalltalk.  Eiffel is in this class, too.

I agree that C++ and Smalltalk are quite different animals.  However, in
the particular respect I was talking about, they are the same: the unit
of modularity is the class, and the operations are thought to live
inside each object of the class.  This leads to the prefix notation that
some love and some hate (and some erroneously think constitutes the
essence of OOP).

>   Note that  the GNAT  style  switch works exactly   this way  (if  I
>remember well), and consider casing inconsistency as a fatal error.

Makes sense.  Of course, this will not allow the convention that some
people using case-sensitive languages seem to like:

    animal: Animal;

Whereas Ada requires something like:

    Animal: Animal_Type;

or

    The_Animal: Animal;

- Bob




      reply	other threads:[~1996-05-03  0:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-02  0:00 Some questions about Ada Carl Laurence Gonsalves
1996-05-02  0:00 ` Robert A Duff
1996-05-02  0:00 ` Dave Jones
1996-05-03  0:00   ` Carl Laurence Gonsalves
1996-05-03  0:00     ` Robert A Duff
1996-05-03  0:00     ` Michael Feldman
1996-05-03  0:00     ` Dave Jones
1996-05-03  0:00     ` Adam Beneschan
1996-05-04  0:00       ` Robert Dewar
1996-05-04  0:00         ` Kevin D. Heatwole
1996-05-04  0:00         ` Robert A Duff
1996-05-04  0:00           ` Robert Dewar
1996-05-05  0:00             ` Robert A Duff
1996-05-05  0:00               ` Arthur Evans Jr
1996-05-05  0:00                 ` Robert Dewar
1996-05-05  0:00                 ` Robert Dewar
1996-05-06  0:00                   ` Norman H. Cohen
1996-05-06  0:00                     ` David Weller
1996-05-07  0:00                       ` Robert Dewar
1996-05-12  0:00                         ` Geert Bosch
1996-05-06  0:00                 ` Christopher J. Henrich
1996-05-04  0:00         ` Richard Kenner
1996-05-04  0:00           ` Robert Dewar
1996-05-05  0:00             ` Richard Kenner
1996-05-05  0:00               ` Robert Dewar
1996-05-06  0:00         ` Norman H. Cohen
1996-05-06  0:00           ` Robert Dewar
1996-05-04  0:00       ` Carl Laurence Gonsalves
1996-05-06  0:00     ` Laurent Guerby
1996-05-03  0:00   ` Darren C Davenport
1996-05-03  0:00   ` Spencer Allain
1996-05-06  0:00   ` Matthew M. Lih
1996-05-09  0:00     ` Dave Jones
1996-05-03  0:00 ` Laurent Guerby
1996-05-03  0:00   ` Robert A Duff [this message]
replies disabled

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