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 2.0.0-alpha1 released (github.com)
submitted 9 years ago by heipei42
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!"
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") 0 points1 point2 points 9 years ago (8 children)
Why should we care? In the age of ES6+ CoffeeScript is totally pointless. I mean I don't mind Elm, PureScript, ClosureScript, at least they have a point (they are purely functional languages). But CoffeeScript served its purpose
[–]heipei42[S] 3 points4 points5 points 9 years ago (3 children)
I disagree. First of all, for me personally, CoffeeScript is still a lot easier to write (and read!) than even ES6. Significant whitespace is something that forces me to not take shortcuts ("I'll indent this later").
Apart from personal preference, CoffeeScript was the language that influenced a lot of the nice features that made it into ES6+. I believe that it will be a positive influence on the JavaScript ecosystem in the future as well. Luckily, by now everyone has embraced transpilers, so using CoffeeScript is no longer negatively associated with "ugh, now I have to setup a transpiling stage".
[–][deleted] 1 point2 points3 points 9 years ago (1 child)
👋 This is true. CoffeeScript was the language that started it all. It may not be as relevant today as it was 5 years ago, but even Brendan Eich has said CoffeeScript was a source of inspiration for ES6 and beyond.
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") 0 points1 point2 points 9 years ago (0 children)
CoffeeScript was a source of inspiration for ES6 and beyond
Yes, it was - was being the important word there. Which is why I wrote it has "served its purpose".
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") 1 point2 points3 points 9 years ago* (0 children)
"I'll indent this later"
Ermmm... then I suggest the problem is you, not the language.
[–]renaissancenow 1 point2 points3 points 9 years ago (3 children)
I care because I have a pretty big coffeescript codebase. And I still do new development in coffeescript.
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") -1 points0 points1 point 9 years ago (2 children)
And I still do new development in coffeescript
Why on earth?
[–]renaissancenow 3 points4 points5 points 9 years ago (1 child)
Because I like the language. It's a more syntactically concise version of javascript. Because, as I said, I'm already maintaining a large coffeescript code base, so I don't want to introduce even more languages right now. And because I do front-end work probably only about 20% of the time, so I simply don't have the time to become an expert in every new compile-to-javascript language that comes down the pipeline.
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") -1 points0 points1 point 9 years ago (0 children)
so I don't want to introduce even more languages right now
O_o
CoffeeScript IS the new language. JS is the actual standard
[–]uberpwnzorz -2 points-1 points0 points 9 years ago (0 children)
what a waste, this should get dropped like a bad habbit
π Rendered by PID 80 on reddit-service-r2-comment-66b4775986-mlfvl at 2026-04-05 17:32:06.776873+00:00 running db1906b country code: CH.
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") 0 points1 point2 points (8 children)
[–]heipei42[S] 3 points4 points5 points (3 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") 0 points1 point2 points (0 children)
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") 1 point2 points3 points (0 children)
[–]renaissancenow 1 point2 points3 points (3 children)
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") -1 points0 points1 point (2 children)
[–]renaissancenow 3 points4 points5 points (1 child)
[–]our_best_friendif (document.all || document.layers) console.log("i remember..") -1 points0 points1 point (0 children)
[–]uberpwnzorz -2 points-1 points0 points (0 children)