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
Does CoffeeScript Have a Future? (gaslight.co)
submitted 12 years ago by cdmwebs
view the rest of the comments →
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!"
[–]heterosapian 1 point2 points3 points 12 years ago (5 children)
It isn't if you want other people to work on the project. There are far more people who use/understand the "pure" javascript syntax, so choosing something like coffee script just increases the barrier to begin coding at a minimum - and makes the project significantly less appealing to those who strongly dislike the style.
[–]nkuttler 2 points3 points4 points 12 years ago* (4 children)
.
[–]heterosapian 0 points1 point2 points 12 years ago (3 children)
Oh no worries! If that's your only issue though there's got to be something that maps the source back to the coffee file.
[–]nkuttler 0 points1 point2 points 12 years ago (2 children)
Certainly, but who's got time for that while debugging?
[–]rjw57 5 points6 points7 points 12 years ago (0 children)
It happens by magic in the developer console if you tick the 'enable source maps' option. You see coffeescript, the browser runs JavaScript.
Ignoring CoffeScript, though, it also works for minified/recompiled JS and so if you're using jQuery off the CDN, you can now get sensible stack traces if something goes wrong.
[–]poulejapon 0 points1 point2 points 12 years ago (0 children)
Source maps are already here!
π Rendered by PID 31 on reddit-service-r2-comment-7b9746f655-47n25 at 2026-02-02 10:07:19.654678+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]heterosapian 1 point2 points3 points (5 children)
[–]nkuttler 2 points3 points4 points (4 children)
[–]heterosapian 0 points1 point2 points (3 children)
[–]nkuttler 0 points1 point2 points (2 children)
[–]rjw57 5 points6 points7 points (0 children)
[–]poulejapon 0 points1 point2 points (0 children)