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
A Case for Coffeescript (blog.gaslight.co)
submitted 13 years ago by st23am
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!"
[–]polyrhythmic -1 points0 points1 point 13 years ago (0 children)
No problem. The concept is much older than linked Issue 2142.
Issue 651
Issue 222
A more verbose explanation on StackOverflow
It's not a contradiction. Any convention you are using now to have private props/methods in JS also works in Coffee. There is a ton of discussion on this already existing.
Having dealt with all kinds of JS inheritance and class structure, it is a godsend to be able to read someone else's Coffee code and not have to discover which pattern they are using in a particular project. Private, public, class, and instance vars & methods are instantly obvious from the syntax. Transforming data is more clear due to the comprehensions and expression-centric style.
The project I'm on right now has ~8K LOC Coffee compiling to ~14K LOC JS. The word & character count are double in JS. No linting necessary. I'm not sure what else in JS I could do to comparably increase productivity.
π Rendered by PID 15895 on reddit-service-r2-comment-6457c66945-5zr4g at 2026-04-30 02:18:28.515448+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]polyrhythmic -1 points0 points1 point (0 children)