Operator overloading revisited
Christian Plesner Hansen
christian.plesner.hansen at gmail.com
Wed Jul 1 01:03:56 PDT 2009
> Do have a look at Cecil. Multimethods probably can't get much better than
> that.
I'm not anti-multimethods. If I was doing a language from scratch it
would have multimethods. That doesn't mean that adding them to JS is
a good idea, or that mentioning them would further my case.
A side note: while cecil's model is nice and clean I wouldn't say that
it was the platonic ideal of a multimethod model. For instance, I
think it's reliance on implementation/representation types for
dispatch rather than interface could be improved upon. But that's a
whole other discussion.
More information about the es-discuss
mailing list