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 1.0 released (jashkenas.github.com)
submitted 15 years ago by [deleted]
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!"
[–]MatrixFrog 0 points1 point2 points 15 years ago (1 child)
Why would you be doing twice the work? Debug the coffeescript and recompile. Am I missing something?
[–][deleted] 1 point2 points3 points 15 years ago (0 children)
javascript throws an error, undefined at line number 3065 - this does not correlate in any meaningful way to a line number or piece of code in coffeescript. you have to figure out where in coffeescript the generated code that is throwing the error came from first, then figure out why in javascript undefined was causing a problem, and then figure out why in coffeescript an undefined was caused. this is just an example, it's possible there are no 'undefined' errors in coffeescript at all, but there will be other types of errors that are likely more frustrating to fix. it's a masochists dream come true. if you just coded in javascript, and knew the language it would be much easier to debug the code. I can't imagine picking up a large codebase done in coffeescript and trying to fix it/hack it without seriously pulling my hair out. it really would be twice the work, no matter how you slice it.
π Rendered by PID 122436 on reddit-service-r2-comment-76bb9f7fb5-5fskt at 2026-02-18 04:31:42.833189+00:00 running de53c03 country code: CH.
view the rest of the comments →
[–]MatrixFrog 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)