r/coffeescript • u/Grahar64 • Mar 12 '14
Why should you use CoffeeScript instead of JavaScript?
http://maori.geek.nz/post/why_should_you_use_coffeescript_instead_of_javascript
22
Upvotes
r/coffeescript • u/Grahar64 • Mar 12 '14
View all comments
Show parent comment
2
u/cwmma Mar 13 '14
well you solve it by using JavaScript :). Which is actually getting a lot of the nicer parts of CoffeeScript, notably
function (a, b, ..rest))function (a=1))I'd also point out that while the CoffeeScript compile to ugly JavaScript, you can write the same thing less ugly like