From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b0d569080889afd6 X-Google-Attributes: gid103376,public From: David Starner Subject: Re: A question for my personal knowledge. Date: 1999/05/13 Message-ID: <373B921D.2642B8EE@aasaa.ofe.org>#1/1 X-Deja-AN: 477662792 Content-Transfer-Encoding: 7bit References: <1VEZ2.1515$I51.88140@carnaval.risq.qc.ca> <37372A84.641F2133@bigfoot.com> <7h8oe8$2js$1@cf01.edf.fr> <37382B0C.A95B6745@bigfoot.com> <7h9o21$9v4$1@nnrp1.deja.com> <7h9pei$aut$1@nnrp1.deja.com> <373AC668.4824FF07@decada.enet.dec.com> <7hfctj$1kb4@drn.newsguy.com> <7hfp1n$28tr@drn.newsguy.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: ioNET Inc. Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-13T00:00:00+00:00 List-Id: 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.