In C or in any ECMAscript based language you call a public method or function on an object. But in the purpose C documentation, there is no public law call, only to send the message.
Do you have a problem in thinking that when you send a message in Objisi, then you are actually making a public call on an object.
In principle, they are different.
Practically, not much.
These objects are different in C, the object can not respond to messages, or forward messages on different objects, or whatever languages like C, the function calls actually Are only jumping to a certain place in memory and the codes are executed. No dynamic behavior is involved in this.
However, in standard usage cases, when you send a message to an object, the method that is usually called when the message is called, approximately 99% of time, sending a message called a method Will go As such, we often say "call a method", when we actually "send messages", practically, they are almost always the same, but they do not have to be . Some time ago, I had been philosophically hanging on this topic and blogged about it:
/ P>
Edit
To answer your question, there is nothing wrong in saying "method calling" instead of "sending a message" though it is important to understand that there is a very important implementation difference.
(And in a different form, my personal preference is to "invoke a method on some object")
Comments
Post a Comment