Re:A Healthy Hatred of OOP, or the principles of my message-...
by onnoonno on Tuesday April 12, 2016 @03:24PM
(#11482731)
In a way, message passing using the usual way, methods, means TWO messages are passed: The parameters and the return value.
I think that obscures the better parts of the OOP view quite a bit.
Re:A Healthy Hatred of OOP, or the principles of my message-...
by kazinator on Tuesday April 12, 2016 @04:15PM
(#11483173)
Also, method calls (that return) are really two calls, in a way: the call which passes the arguments along with a continuation, and then the call to the continuation which returns the value. :)
Message passing OOP doesn't necessarily imply that type of message passing. That is to say, the "send" call doesn't have to return until the target object has processed the message.