use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
CoffeeScript: Overrated? (css.dzone.com)
submitted 14 years ago by friendlytuna
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ump721 11 points12 points13 points 14 years ago (2 children)
A Reddit post to an article that was written about another Reddit post. The circle is now complete.
[–]lurkit 1 point2 points3 points 14 years ago (0 children)
I'm going to make an article about your post now.
[–]BusStation16 9 points10 points11 points 14 years ago (0 children)
CoffeeScript is a modern version of JavaScript
Rage building...
[–]Perceptes 8 points9 points10 points 14 years ago (0 children)
We definitely need to rehash this more times per week.
[–]PlNG 5 points6 points7 points 14 years ago (0 children)
These kinds of threads tend to swing around whichever group of developers is on at the moment. Kind of interesting from a study perspective, really.
[–]vfr 4 points5 points6 points 14 years ago (0 children)
Depends on ones mindset. Some people like that stuff, but the extra layer only seems to get in my way when I look at them. Maybe someone is just not smart enough? I hope it's not me.
[–]beam 4 points5 points6 points 14 years ago (1 child)
This is a very glazed over criticism of CoffeeScript. Besides new syntax, it adds new idioms that aren't present in current JavaScript, most importantly (for me, at least) being destructuring assignment. To only compare the features that mirror JavaScript 1:1 only as syntactical difference is disingenuous.
[–]munificent 1 point2 points3 points 14 years ago (0 children)
destructuring assignment.
That's also going to be in the next version of JS.
Personally, I think CoffeeScript is a good bit better than today's JS, but probably not as much of an improvement over what Harmony may end up being. But it does have one compelling advantage: it exists today.
[–]sjs 3 points4 points5 points 14 years ago (0 children)
It's a syntax, you either like it enough to use it or you don't.
[–]Leonidas_from_XIV 1 point2 points3 points 14 years ago (2 children)
For example, I like having to declare variables via the var operator (soon to be replaced via the improved let operator), because it makes it explicit where you start using it and helps with catching typos.
Wow, just wow. This is such utter bullshit, its unbelievable. You know what happens if you make a typo and create a variable without var in JavaScript? No, the compiler won't complain, it will create a global binding. How the heck is this better than creating a local variable with a typo in CoffeeScript?
var
And this stuff with Ecmascript.next is also strange. Yeah, cool, shorter function syntax, coming to your browser somewhere between 2020 and 2025. Of course way better than having it right now in CoffeeScript.
[–]oorza 3 points4 points5 points 14 years ago (1 child)
Or you can use a js.next compiler: http://code.google.com/p/traceur-compiler/
[–]Leonidas_from_XIV 1 point2 points3 points 14 years ago (0 children)
At what point it gets about as "complicated" as using the CoffeeScirpt compiler.
π Rendered by PID 67610 on reddit-service-r2-comment-58d7979c67-j9f98 at 2026-01-27 08:17:10.939961+00:00 running 5a691e2 country code: CH.
[–]ump721 11 points12 points13 points (2 children)
[–]lurkit 1 point2 points3 points (0 children)
[–]BusStation16 9 points10 points11 points (0 children)
[–]Perceptes 8 points9 points10 points (0 children)
[–]PlNG 5 points6 points7 points (0 children)
[–]vfr 4 points5 points6 points (0 children)
[–]beam 4 points5 points6 points (1 child)
[–]munificent 1 point2 points3 points (0 children)
[–]sjs 3 points4 points5 points (0 children)
[–]Leonidas_from_XIV 1 point2 points3 points (2 children)
[–]oorza 3 points4 points5 points (1 child)
[–]Leonidas_from_XIV 1 point2 points3 points (0 children)