[ANSI-Smalltalk] Re: #performOverride:withArgs:
Matthew Fulmer
tapplek at gmail.com
Sat Mar 22 22:35:00 GMT 2008
On Sat, Mar 22, 2008 at 03:13:44PM -0400, Panu Logic wrote:
> Let me transfer to a totally different, but also a
> "reflection" -issue, which I've long considered the only
> thing lacking from Smalltalk:
>
> #performOverride:withArgs:
>
> This should in my view be defined as overriding the
> message-handling behavior of any method sent to an object
> which provides an implementation of this method.
> #perform::withArgs: is already defined for Object, so
> naturally we don't want to impose this behavior on
> everything. Yet we would like the effect of defining this
> method to be inheritable.
I don't understand at all what this would do. Change the method
lookup, perhaps to implement delegatiin? Provide some kind of
undefined message handling in addition to #doesNotUnderstand?
Allow per-object methods? Make coffee?
--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
More information about the ANSI-Smalltalk
mailing list