News for hackers. Stuff that matters.
Re:Github: CoffeeScript cracks the top 10 languages by michael_fine on Thursday May 24, 2012 @03:08PM (#4020002)
Now that you say it, and I think about it more, I guess you're right. It does add features like list comprehension and pattern matching, and the compilation really is ambiguous.
Re:Github: CoffeeScript cracks the top 10 languages by asynchrony on Thursday May 24, 2012 @04:00PM (#4020258)
Coffeescript doesn't add pattern matching.
Re:Github: CoffeeScript cracks the top 10 languages by michael_fine on Thursday May 24, 2012 @05:02PM (#4020541)
Coffeescript has it, though it's formally called destructuring: http://jashkenas.github.com/coffee-script/#destructuring
Re:Github: CoffeeScript cracks the top 10 languages by riffraff on Thursday May 24, 2012 @05:53PM (#4020777)
destructuring assignment is not really pattern matching, as the latter allows flow control and the former does not.
Re:Github: CoffeeScript cracks the top 10 languages by jashkenas on Thursday May 24, 2012 @05:20PM (#4020632)