Re:The death of if/else cascades, a lightweight alternative
by zaphar on Sunday December 06, 2009 @12:18PM
(#979815)
Erlangs pattern matching is a superior form of this concept. Clojures multimethods also implement a similar style to erlangs pattern matching dispatch. Both of those avoid some of the objections described in other comments here. The code is still in core and is easier to read than a dispatch table.
[ Parent
| on HN ]
There are no comments on this comment yet.