4 ms·
Last I heard, jashkenas was not a fan of adding such. "... [P]attern matching inspired by static languages is a particularly poor fit for JavaScript (and by ex
by ble 14y ago
Last I heard, jashkenas was not a fan of adding such.
"... [P]attern matching inspired by static languages is a particularly poor fit for JavaScript (and by extension CoffeeScript), because types are extremely weak in JS." -jashkenas [1]
"[... P]attern matching is not nearly as useful in a language without rich types [...]" - jashkenas [2]
I'm on that reddit thread, respectfully disagreeing with him.
[1]: https://github.com/jashkenas/coffee-script/issues/1419#issuecomment-1645482 https://github.com/jashkenas/coffee-script/issues/1419#issue...
[2]: http://www.reddit.com/r/programming/comments/er0qj/coffeescript_hits_10_happy_holidays_proggit/c1a907o http://www.reddit.com/r/programming/comments/er0qj/coffeescr...