3 ms·
> What is the difference between "messaging" and "function call"? If the object supports the message, then it will execute some code. Otherwise it will just ig
by frik 12y ago
> What is the difference between "messaging" and "function call"?
If the object supports the message, then it will execute some code. Otherwise it will just ignore it. This is a more dynamic approach than an explicit function/method call where the object must support that function.
You can think of e.g. Javascript events plus function calls (callbacks) that pass an object ("message") and a typeof/switch check as an equivalent.