lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Sep 2, 2018 at 9:28 AM, Dirk Laurie wrote:
Op So., 2 Sep. 2018 om 01:41 het Alejandro Reimondo geskryf:

> In object paradigm (Object Technology) the only way to
>  interact with an object is sending messages.

The Lua way to send messages to a running function is the yield-resume
mechanism for coroutines.

I guess Alejandro is just using Smalltalk-like terminology.
"Send a message to an object" in Smalltalk is equivalent to
"invoke an object's method" in usual OOP.