Why, oh why? 
Author Message
 Why, oh why?

For the last two years while working in VisualAge, I have tripped
across the following method in the connection handling logic of VA.
But, for the life of me, I cannot figure out if there is any
particular reason for it to be coded the way it is, as opposed to a
direct message send.

AbtMessageToSignalEvent>>abrSendWithArguments: argsArray
        "Send the message specified to the receiver."

        ^receiver perform: #signalPrimitiveEvent:withArguments:
                withArguments: (Array with: event with: argsArray)

Can anyone explain why this wasn't coded as
        ^receiver signalPrimitiveEvent: event withArguments: argsArray
???

Richard Sargent
5x5 Computing Solutions, Inc.



Wed, 18 Jun 1902 08:00:00 GMT  
 Why, oh why?

Quote:

> For the last two years while working in VisualAge, I have tripped
> across the following method in the connection handling logic of VA.
> But, for the life of me, I cannot figure out if there is any
> particular reason for it to be coded the way it is, as opposed to a
> direct message send.

> AbtMessageToSignalEvent>>abrSendWithArguments: argsArray
>         "Send the message specified to the receiver."

>         ^receiver perform: #signalPrimitiveEvent:withArguments:
>                 withArguments: (Array with: event with: argsArray)

> Can anyone explain why this wasn't coded as
>         ^receiver signalPrimitiveEvent: event withArguments: argsArray
> ???

> Richard Sargent
> 5x5 Computing Solutions, Inc.

From the date (11/18/93), it appears to date from VA 1.0 days. It's
probably still there because it works and nobody has complained/noticed it
until now.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mike Silverstein, Lead Architect        voice: (919) 363-3946
SilverMark, Inc.                          fax: (919) 362-0772

Raleigh, NC                         http://www.silvermark.com



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. why why why oh why why baby

2. Why oh why does it work one way and not another????

3. Why oh why do you keep making my apps bigger?

4. Why oh why doesn't UNICOS 'ar' like block data?

5. Why, Why Why????

6. why why why (mouse related question)

7. Enterprise Edition - Why/Why not???

8. Why (or why not) one module per file?

9. Why o why

10. Why TCL? Why Scripting

11. why TCL and why not TCL with JAVA

12. Why Python is like BASIC (and why this is a good thing)

 

 
Powered by phpBB® Forum Software