Re: Confessions of an "OO Foreigner"

From: LX-i (lxi0007_at_netscape.net)
Date: 12/31/03


Date: Tue, 30 Dec 2003 18:56:13 -0600

Donald Tees wrote:
> LX-i wrote:
>
>> I'm with you. Other languages use something like
>> return-value = object.method(parameters)
>>
>> I'm surprised they didn't say
>> INVOKE method-name OF object-name ...
>>
>> This utilizes a very familiar COBOL construct, which is used to
>> uniquely identify data items.
>>
>> Any of you savvier OO guys know of a reason that that wouldn't make
>> more sense?
>>
>>
>
> In reply to that latter, you can do exactly that by using the set
> property method to invoke a procedure.
>
> IE MOVE "action-required" TO INVOCATION-METHOD of object-name.

Then, would you simply invoke the object? Is that second parameter
optional?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~   /   \  /         ~        Live from Montgomery, AL!       ~
~  /     \/       o  ~                                        ~
~ /      /\   -   |  ~          LXi0007@Netscape.net          ~
~ _____ /  \      |  ~ http://www.knology.net/~mopsmom/daniel ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~         I do not read e-mail at the above address           ~
~    Please see website if you wish to contact me privately   ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Relevant Pages

  • Re: What threading model(s) should a language provide
    ... subprogram and the main thread continues. ... language design (1 in more OO-centric languages, ... you would typically use an "invoke" higher-order ... ignore (Unix.waitpid pid); ...
    (comp.lang.misc)
  • Re: What threading model(s) should a language provide
    ... subprogram and the main thread continues. ... language design (1 in more OO-centric languages, ... you would typically use an "invoke" higher-order ... ignore (Unix.waitpid pid); ...
    (comp.lang.misc)
  • Re: Datenorientiert/algorithmusorientiert
    ... | *Open Recursion*. ... Another handy feature offered by most languages ... | with objects and classes is the ability for one method body to ... | invoke another method of the same object via special variable called ...
    (de.comp.lang.misc)
  • Re: Whats your favorite language and why? (LINUX)
    ... It's on the contrary very useful definition. ... I can invoke many things including ... these languages was grossly inaccurate. ... I am a C/C++ developer, ...
    (comp.programming)
  • Re: Confessions of an "OO Foreigner"
    ... >> INVOKE verb, ... >> then I though we AT LEAST should have an OPTIONAL keyword explaining ... >> like) and totally obscures what the INVOKE statement does!!! ... > This utilizes a very familiar COBOL construct, ...
    (comp.lang.cobol)