comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>
Subject: Re: The old "Object.Method" syntax debate
Date: Wed, 21 May 2003 13:55:56 -0400
Date: 2003-05-21T13:55:56-04:00	[thread overview]
Message-ID: <3ECBBDAC.5010109@cogeco.ca> (raw)
In-Reply-To: vcn7svfjbannd6@corp.supernews.com

What I find interesting about this, was the reference
in C++ circles to allow the "Ada way" of reference, to
work around the limitations that object.method() has.

We seem to have two groups digging tunnels
underground to meet in the middle?

Probably a google of this news group could find the
pointer that posted here a few months ago.

Warren.

David C. Hoos wrote:
> This was brought up in a forum regarding enhancements for Ada0X,
> at the SIG-Ada meeting last December, and the consensus was it
> should be done, so it probably will.
> 
> In defense of the charge that the objection is "vacuous," I would point
> out that that notation prevents the need to fully qualify the subprogram
> name (in the absence of use clauses) when invoking the subprogram
> for an object which is in scope.
> 
> Having worked in the .NET environment for quite a while, it's really
> nice to be able to type an object name, then the dot, and immediately
> see a little pop-up-window showing all of the available operations,
> and being able to select from the list instead of typing the full
> subprogram name.
> 
> My current work is C#, and I haven't yet had the time to try A#, but
> I hope to get around to it, soon.
> 
> 
> "Marc A. Criley" <mcq95@earthlink.net> wrote in message
> news:254c16a.0305210726.485125de@posting.google.com...
> 
>>Yeah, I'm bringing this up.  Kill the thread if your eyes just rolled
>>up into your head %-)
>>
>>The reason I'm mentioning this is because of something I just read in
>>Martin Carlisle, Sward, and Humphries' paper "Weaving Ada 95 into the
>>.Net Environment" (http://www.adapower.net/a_sharp/asharp.pdf).
>>
>>While this has been available online for awhile I only now read it in
>>my recent issue of Ada Letters.
>>
>>What caught my attention was an almost peripheral mention of modifying
>>GNAT to recognize the Object.Method syntax: "Ada 95 has often been
>>criticized for making the syntax of dispatching method calls the same
>>as the imperative procedure calls. [...]  We have modified the
>>compiler to allow the same object.method syntax [...]  We have also
>>performed this modification to the Windows 3.15 version of GNAT. It
>>required only 127 non-blank, non-comment lines of Ada code. We expect
>>this syntax will make it easier for students to understand
>>object-oriented programming. Since we also support the standard Ada 95
>>syntax, we still have the nicer Ada syntax for operators (x+y instead
>>of x."+"(y))."
...
-- 
Warren W. Gay VE3WWG
http://home.cogeco.ca/~ve3wwg




  parent reply	other threads:[~2003-05-21 17:55 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 15:26 The old "Object.Method" syntax debate Marc A. Criley
2003-05-21 15:47 ` David C. Hoos
2003-05-21 16:21   ` Jacob Sparre Andersen
2003-05-21 16:34     ` Robert A Duff
2003-05-21 16:43       ` Preben Randhol
2003-05-21 17:13         ` Robert A Duff
2003-05-21 17:13         ` David C. Hoos
2003-05-21 18:21           ` Preben Randhol
2003-05-21 19:43             ` David C. Hoos
2003-05-21 20:36               ` Preben Randhol
2003-05-22  3:24                 ` David C. Hoos
2003-05-22  2:31             ` Alexander Kopilovitch
2003-05-21 18:32           ` Preben Randhol
2003-05-22  9:41       ` Xavier Nicollin
2003-05-22 14:56         ` Robert A Duff
2003-05-22 16:02           ` Xavier Nicollin
2003-05-23  2:56         ` Wesley Groleau
2003-05-21 16:50     ` David C. Hoos
2003-05-21 16:36   ` Preben Randhol
2003-05-21 16:55     ` Vinzent Hoefler
2003-05-21 18:03       ` Preben Randhol
2003-05-21 18:17         ` David C. Hoos
2003-05-21 18:22           ` Preben Randhol
2003-05-21 20:53             ` tmoran
2003-05-22  2:11               ` Preben Randhol
2003-05-22  4:04                 ` Dale Stanbrough
2003-05-22  7:34         ` Ole-Hjalmar Kristensen
2003-05-23  0:35         ` Hyman Rosen
2003-05-21 17:02   ` David C. Hoos
2003-05-21 17:55   ` Warren W. Gay VE3WWG [this message]
2003-05-21 19:54   ` Bobby D. Bryant
2003-05-21 20:37     ` Preben Randhol
2003-05-22 14:32   ` Rodrigo Garcia
2003-05-22 15:39     ` David C. Hoos
2003-05-23  7:49       ` Rodrigo Garcia
2003-05-23  8:34         ` Dmitry A. Kazakov
2003-05-23 18:35           ` Alexander Kopilovitch
2003-05-25  5:38             ` Robert I. Eachus
2003-05-25  9:13               ` Dmitry A. Kazakov
2003-05-27  9:50                 ` John McCabe
2003-05-27 16:02                   ` Warren W. Gay VE3WWG
2003-05-28  8:24                   ` Dmitry A. Kazakov
2003-05-28 12:36                     ` Lutz Donnerhacke
2003-05-28 13:14                       ` Preben Randhol
2003-05-28 15:01                         ` Lutz Donnerhacke
2003-05-29  9:17                       ` Dmitry A. Kazakov
2003-05-30 10:41                         ` Lutz Donnerhacke
2003-05-30 20:13                           ` Randy Brukardt
2003-06-02  9:11                             ` Lutz Donnerhacke
2003-05-31  9:29                           ` Dmitry A. Kazakov
2003-05-28  3:02               ` Alexander Kopilovitch
2003-05-28  8:07                 ` John McCabe
2003-05-29  0:55                   ` Alexander Kopilovitch
2003-05-22 17:03     ` Gautier Write-only
2003-05-23 14:43   ` Steve
2003-05-23 14:51     ` Preben Randhol
2003-05-23 15:21     ` John McCabe
2003-05-23 23:43     ` Robert A Duff
2003-05-25  5:42     ` Hyman Rosen
2003-05-25 14:40       ` Steve
2003-05-25 21:21         ` Gautier Write-only
2003-05-23  7:58 ` John McCabe
2003-05-23  8:39   ` Preben Randhol
2003-05-23 15:12     ` John McCabe
2003-05-23 15:18       ` Preben Randhol
2003-05-23 17:32     ` Stephen Leake
2003-05-27  9:09       ` John McCabe
2003-05-28 11:47       ` Georg Bauhaus
2003-05-28 16:14         ` Stephen Leake
2003-05-28 18:23           ` Georg Bauhaus
2003-05-23 20:45 ` steve_H
  -- strict thread matches above, loose matches on Subject: below --
2003-05-23 17:39 Lionel.DRAGHI
2003-05-23 17:59 Lionel.DRAGHI
2003-05-27  9:17 ` John McCabe
2003-06-03 17:23 Lionel.DRAGHI
2003-06-04  8:27 ` John McCabe
replies disabled

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