Clojure Protocols & expression problem

bearophile bearophileHUGS at lycos.com
Thu Apr 29 02:16:06 PDT 2010


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.

Bye,
bearophile



More information about the Digitalmars-d mailing list