comp.lang.ada
 help / color / mirror / Atom feed
From: oconnor@apci.net (James O'Connor)
Subject: Re: polymophism
Date: 1996/11/23
Date: 1996-11-23T00:00:00+00:00	[thread overview]
Message-ID: <577c07$r4t@queeg.apci.net> (raw)
In-Reply-To: 32957EB9.17AF@kafka.informatik.uni-stuttgart.de


In <32957EB9.17AF@kafka.informatik.uni-stuttgart.de>, Klaus Brouwer <brouwer@kafka.informatik.uni-stuttgart.de> writes:
>> Note I don't want to get into the fruitless religious war over whether
>> 
>> The_object.Do_something (now);
>> 
>> or
>> 
>> Do_Something (The_Object, Now)
>> 
>> is better.
>
>Would be better, since 
>
>[The_Object do_someting:now]
>
>is best.
>

That looks like Smalltalk....except it won't work unless you do

[The_Object do_someting:now] value.
[The_Object do_someting:now] fork.
myBlock := [The_Object do_someting:now]

Somthing like that....

My object wasn't based on whether The_object.Do_something (now); as in C++ 
or Java  or Do_Something (The_Object, Now); as in Ada is a better way of 
expressing the request of an object to perform some operation.  My object was 
that Do_Something (The_Object, Now); obscures  whether you are performing
 an operation *of* The_Object or *on* the object, or an operation that happens to
 *use* The_Object.

>
>Regards,
>	Klaus Brouwer


James O'Connor
oconnor@apci.net




  reply	other threads:[~1996-11-23  0:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-18  0:00 polymophism AGBOH CHARLES
1996-11-19  0:00 ` polymophism Darren C Davenport
1996-11-21  0:00   ` polymophism James O'Connor
1996-11-21  0:00     ` polymophism Mike Stark
1996-11-22  0:00       ` polymophism Klaus Brouwer
1996-11-23  0:00         ` James O'Connor [this message]
1996-11-25  0:00         ` polymophism Richard Riehle
1996-11-22  0:00       ` polymophism Norman H. Cohen
1996-11-22  0:00     ` polymophism Norman H. Cohen
1996-11-23  0:00       ` polymophism James O'Connor
1996-11-22  0:00         ` polymophism Matthew Heaney
1996-11-25  0:00           ` polymophism Don Harrison
1996-11-25  0:00           ` polymophism Joachim Durchholz
1996-11-26  0:00             ` polymophism Don Harrison
1996-11-25  0:00       ` Is Ada an OO Language? (was => Re: polymophism) Richard Riehle
1996-11-25  0:00         ` James S. Rogers
1996-11-23  0:00     ` polymophism John Howard
1996-11-21  0:00   ` polymophism Robert I. Eachus
1996-11-22  0:00   ` polymophism Jon S Anthony
1996-11-22  0:00     ` polymophism Robert A Duff
1996-11-23  0:00   ` polymophism Jon S Anthony
1996-11-24  0:00   ` polymophism Robert B. Love 
1996-11-27  0:00   ` Is Ada an OO Language? (was => Re: polymophism) Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1996-11-26  0:00 polymophism Peter Hermann
1996-11-26  0:00 ` polymophism Peter Hicks
1996-11-26  0:00   ` polymophism Peter Hermann
1996-11-26  0:00 ` polymophism John Howard
1996-11-29  0:00 ` polymophism Richard Riehle
replies disabled

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