>>>>> "RLS" == Randal L Schwartz <[EMAIL PROTECTED]> writes:

>>>>> "Chaim" == Chaim Frenkel <[EMAIL PROTECTED]> writes:
Chaim> Given N different fundemental types, we end up with NxN vtbl entries.

Chaim> A long time ago I looked at some smalltalk code that did

Chaim> foo add: bar

Chaim> It must have been pretty bad, because I can't remember how they did
Chaim> it. But I vaguely recall that at least one path, flipped the object
Chaim> and the sender. Others did asFoo messages on the sender.

RLS> Yes, double dispatch.  Addressed by "the Damian" in Object Oriented Perl
RLS> (the Book, and the forthcoming Musical) as it applies to perl at a Perl
RLS> level.

Does double dispatch, solve the combinatorial problem or does it only
solve the problem of having to reopen one's classes?

This also seems to mean that there is a hierarchy of classes, both for
promotion/coercion and for carnal knowledge of what is in the system.

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to