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: sb463ba@d250-hrz.uni-duisburg.de (Georg Bauhaus) Subject: Re: A question for my personal knowledge. Date: 1999/05/18 Message-ID: <7hsc92$rou$1@news-hrz.uni-duisburg.de>#1/1 X-Deja-AN: 478800931 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> <373B921D.2642B8EE@aasaa.ofe.org> Organization: Gesamthochschule Duisburg Newsgroups: comp.lang.ada Date: 1999-05-18T00:00:00+00:00 List-Id: David Starner (dstarner98@aasaa.ofe.org) wrote: : 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, ...). Why fix yourselves to one particular perspective on things? You might look at the string ``get(me, "out")'' and consider it a sentence in Language "English" (with weird puctiation, though). You might say, "get" is a Verb (you are a linguist), you might say, "get" is a method - not an HTTP method, though ;- , because you know that "me" is an object-like thing (you are the programmer). And you conclude, from the quotes around "out", that "out" is not an out parameter, but a message: "out"! (The meaning of quotes...) You could write, in some other languages, me.get("out"), which I do not find easier to comprehend *in English*. It might be easier for you to know the type of programming thing from this syntax if you are used to using dot .notation. and if this syntax were uniquely bound to a syntactic/semantic meaning, yet does it matter? Not if you are interested in the meaning of a program, rather than in its technical structure. In Perl - to add something new - you choose from: get $me "out"; or $me->get("out"); Same thing. Or not? Isn't this whole discussion about an aesthetical topic, really? And arent these matters of taste, to some extent? -#- Georg