HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by asynchrony | Hacker News Reader
Parent
Full thread
asynchrony
·
Coffeescript doesn't add pattern matching.
View on HN
michael_fine
·
Coffeescript has it, though it's formally called destructuring:
http://jashkenas.github.com/coffee-script/#destructuring
jashkenas
·
Ahem. That'd be "destructuring".
http://wiki.ecmascript.org/doku.php?id=harmony:destructuring
riffraff
·
destructuring assignment is not really pattern matching, as the latter allows flow control and the former does not.
Reply on news.ycombinator.com