comp.lang.ada
 help / color / mirror / Atom feed
From: sb463ba@d250-hrz.uni-duisburg.de (Georg Bauhaus)
Subject: Re: A question for my personal knowledge.
Date: 1999/05/18
Date: 1999-05-18T00:00:00+00:00	[thread overview]
Message-ID: <7hsc92$rou$1@news-hrz.uni-duisburg.de> (raw)
In-Reply-To: 373B921D.2642B8EE@aasaa.ofe.org

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




  reply	other threads:[~1999-05-18  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 ` 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-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                   ` David Starner
1999-05-18  0:00                     ` Georg Bauhaus [this message]
1999-05-13  0:00                   ` Brian Rogoff
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             ` Charlie McCutcheon
1999-05-17  0:00               ` Larry Kilgallen
1999-05-17  0:00                 ` Chris
1999-05-17  0:00                   ` Marin David Condic
1999-05-17  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-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 ` Dan Nagle
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