Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Coffeescript doesn't add pattern matching.


Coffeescript has it, though it's formally called destructuring: http://jashkenas.github.com/coffee-script/#destructuring


destructuring assignment is not really pattern matching, as the latter allows flow control and the former does not.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: