I've been reading Ian's papers on the id object model.

I have a question, though, about the way bind and lookup are defined.

Bind and lookup both select the method to use based on the "method
selector", which is basically the message name.  Bind is a fixed point
in the language, and lookup is not.  However, it is inside of bind
that method selection is decided, ie, that a method is selected based
on the name of the message.

Since one of the main goals of the system is to bind everything as
lately as possible, I wonder why a whole range of method selection
paradigms are ruled out with one easily correctable stroke.

Instead of binding on message name, bind on the entire message.  Let
the default lookup, which can be dynamically rebound, decide that it
wants to use the message name.  Let other variations on lookup use
whatever is appropriate.

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to