|
|
|
|
|
by Tuna-Fish
4989 days ago
|
|
> Multimethods are untyped. Anyone able to comment on how often multimethods are used in idiomatic Clojure code? Not at all. Multimethods were Hickeys solution to polymorphism before the Haskell enthusiasts managed to preach the gospel of type classes to him. Today, they are more or less deprecated as a solution to a problem. |
|
This is categorically false. Multimethods solve a certain problem "open arbitrary function dispatch". Nothing in Clojure aside from multimethods solves this problem. There are many projects that use multimethods to their great advantage, including, but not limited to:
* Clojure
* ClojureScript
* ClojureScript One