comp.lang.ada
 help / color / mirror / Atom feed
From: David Starner <dstarner98@aasaa.ofe.org>
Subject: Re: A question for my personal knowledge.
Date: 1999/05/13
Date: 1999-05-13T00:00:00+00:00	[thread overview]
Message-ID: <373B921D.2642B8EE@aasaa.ofe.org> (raw)
In-Reply-To: 7hfp1n$28tr@drn.newsguy.com

Mike wrote:
> In Ada, you still use function calls and pass tagged records as
> parameters.
> 
> in real OO, you invoke methods on objects.

Only syntatic sugar. Pretty synatic sugar, but synatic sugar. Before I
got used to it, I was planning on writing a preprocessor to change
Object.Method(...) to Method(Object, ...). 

> Also, a class is more clear representation of an object. in Ada, bolting
> OO concepts into a procedural language, makes the way to do OO in Ada
> not very natural at all.
Actually, no. They introduced OO into Ada in an extraordinarly Ada way.
It fits very naturally into Ada; it doesn't feel bolted on. 

Anyway, why is a class a more clear representation of an object? A class
forces A.atan2(B) (for atan B/A) when there is no reason to put emphasis
on A, where atan2(A, B) would be more natural. 

> sorry, but OO in Ada is not normal OO. I am happy that you have no problem
> with it, but 99% of the rest of the world do not do OO that way Ada does it.
Who cares? Just following the rest of the world is a bad reason for
doing anything.




  parent reply	other threads:[~1999-05-13  0:00 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-10  0:00 A question for my personal knowledge Siamak Kaveh
1999-05-10  0:00 ` Marin David Condic
1999-05-10  0:00   ` Paul Whittington
1999-05-10  0:00     ` Marin David Condic
1999-05-10  0:00 ` Roy Grimm
1999-05-11  0:00   ` Pascal Obry
1999-05-11  0:00     ` Roy Grimm
1999-05-11  0:00       ` Robert Dewar
1999-05-11  0:00         ` dennison
1999-05-13  0:00           ` Mike Yoder
1999-05-13  0:00             ` Mike
1999-05-13  0:00               ` Martin C. Carlisle
1999-05-14  0:00               ` Dale Stanbrough
1999-05-13  0:00                 ` Mike
1999-05-13  0:00                   ` Brian Rogoff
1999-05-13  0:00                   ` David Starner [this message]
1999-05-18  0:00                     ` Georg Bauhaus
1999-05-14  0:00                   ` Florian Weimer
1999-05-14  0:00                     ` Steve
1999-05-15  0:00                       ` Florian Weimer
1999-05-15  0:00                         ` Matthew Heaney
1999-05-14  0:00                   ` Dale Stanbrough
1999-05-15  0:00                   ` Matthew Heaney
1999-05-18  0:00               ` Richard D Riehle
1999-05-18  0:00                 ` Hyman Rosen
1999-05-18  0:00                   ` Richard D Riehle
1999-05-18  0:00                     ` Hyman Rosen
1999-05-19  0:00                       ` Richard D Riehle
1999-05-11  0:00         ` Roy Grimm
1999-05-12  0:00           ` Robert A Duff
1999-05-11  0:00       ` Marin David Condic
1999-05-11  0:00         ` Roy Grimm
1999-05-11  0:00           ` Tucker Taft
1999-05-11  0:00             ` Roy Grimm
1999-05-12  0:00         ` Roger Racine
1999-05-12  0:00           ` Marin David Condic
1999-05-17  0:00             ` Richard D Riehle
1999-05-18  0:00               ` Marin David Condic
1999-05-18  0:00                 ` bglbv
1999-05-18  0:00                   ` William B. Clodius
1999-05-17  0:00             ` Charlie McCutcheon
1999-05-17  0:00               ` Marin David Condic
1999-05-17  0:00               ` Larry Kilgallen
1999-05-17  0:00                 ` Chris
1999-05-17  0:00                   ` Marin David Condic
1999-05-10  0:00 ` Dan Nagle
1999-05-10  0:00 ` Larry Kilgallen
1999-05-10  0:00   ` Keith Thompson
1999-05-12  0:00     ` Charlie McCutcheon
1999-05-12  0:00       ` Werner Pachler
1999-05-17  0:00         ` Charlie McCutcheon
1999-05-17  0:00           ` bglbv
1999-05-17  0:00             ` Larry Kilgallen
1999-05-18  0:00               ` bglbv
1999-05-19  0:00                 ` Larry Kilgallen
1999-05-10  0:00 ` Sam
1999-05-11  0:00 ` Jean-Pierre Rosen
1999-05-11  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