Dan Sugalski wrote:
> It'll probably be something like "Here's the function name. Here's the
> parameters. Do The Right Thing." I don't think there's much need for
> cleverness on the part of the interface. The actual dispatch code could be
> nasty, but that's someone else's problem. :)
>
> Dan
What form are the parameters in? Blessed perl references? Are there
flags to indicate lexically constant information, such as "this will
always be a stuffed animal of some kind even though it might not
always be a medium Gund polar bear, and all stuffed animals have
a machine_washable_p() method" for optimization purposes?
That is the need for cleverness on the part of the interface. Without
a standard way to say this is constant, this is dynamic there isn't
much gain over writing redispatch functions.
Although this whole line of unattached skypie debate may show nothing
more than how, exactly, Java, which was designed by a comittee, got the
"interface" system it has.
--
David Nicol 816.235.1187
A few months ago, in a convenience store in New Jersey...