TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Wed, 25 Nov 1998 08:43:54 -0600
Reply-To: Samuel Mize <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <Pine.3.89.9811241400.A9446-0100000@netcom4> from "AdaWorks" at Nov 24, 98 04:05:11 pm
Content-Type: text/plain; charset=US-ASCII
From: Samuel Mize <[log in to unmask]>
Parts/Attachments: text/plain (33 lines)
Richard Riehle wrote:
> Robert,
> I always appreciate your insight into these issues. Mr. Mize wants to
> implement a
>                object.method(parameter list)
> syntax.

Well, just to be clear.  I'm *not* personally tied to that syntax.
My interest in in helping transition people who find value in it.

Its value is that it calls out specifically the object that is to
receive the message.  I would consider a recipient-first parameter
ordering to be just as useful for that.

Of course, you can do that now.  But it's implicit in your code, just
as the concept of enumeration is implicit in integer codes.  I would
think it useful to be able to state "this is a recipient-first type"
and have the compiler help catch errors.

I think this would meet the real concern behind the objection raised
by many OO practitioners.

Sam Mize

Samuel Mize -- [log in to unmask] (home email) -- Team Ada
Fight Spam: see \\\ Smert Spamonam