Clojure Protocols & expression problem

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Apr 29 06:22:58 PDT 2010


On 04/29/2010 04:16 AM, bearophile wrote:
> Michel Fortin:
>
>> is a much easier concept to grasp than double dispatch.<
>
> It's not hard to think about double dispatch, you can see it like a special case of function overload, where the language somehow allows you to overload on the base of the dynamic type of two objects. Things gets less easy to understand when you add inheritance into this mix.

s/overload/override/g

Andrei



More information about the Digitalmars-d mailing list