On 17.09.2012 12:28, Igor Stasenko wrote:
This is not a big deal actually,
since i will introduce a 'OO-callback' which performs a message send
to an object using certain selector,
it will be possible, of course, to pass the signature using other way,
i.e. as an extra argument:

callback := 3 createCallbackFor: #+ signature: #( int (int arg) )

as well as:

callback := 3 createCallbackFor: #+
My 2c:
Does the behavior differ based on the objects class / dynamic state?
(In other words, are there multiple implementors? Does it use private instvars to accomplish it?) If not, then I think 'OO-style' is a less elegant solution than keeping that functionality/responsibility in a class more intricately linked to what it is used for.

The march towards the omniprescent Object which knows all, sees all and does all is tangible, and, at least in my eyes, undesirable :)

Cheers,
Henry

Reply via email to