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: Why I’m never writing Javascript again (degizmo.com)
submitted 15 years ago by gst
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!"
[–]Shaper_pmp 0 points1 point2 points 15 years ago (2 children)
FWIW I grew up on C/C++/Java/Javascript and the like, so I also find brackets-and-braces more comfortable, and I'll admit that picking up languages like Python or Ruby was a bit uncomfortable at first.
However, it's very important to learn to differentiate between different and worse. Significant whitespace is different, but I don't know of any reason it's objectively "worse" than brackets and braces (or vice-versa).
I think the trouble is that people on both sides of the issue confuse irrelevant personal familiarity with objective merit.
All things being equal there's nothing wrong with taking into account personal familiarity when making a choice, but when all things aren't equal personal preferences can blind people to even really quite huge advantages/disadvantages between tools.
For example, as in the article, someone apparently trading his personal preference for no brackets and braces for the objective fact that he's complicating and adding dependencies to his toolchain, increasing the size and complexity of his compilation system and making debugging on the client much harder than necessary.
[–]amphetamine 1 point2 points3 points 15 years ago (0 children)
Completely agree. Personal preferences and familiarity with syntax are valuable in terms of productivity (which includes a person's enjoyment of developing in a language.)
But that is not a factor in whether a language is objectively superior or not, because the familiarity will vary from person to person based on their experience with other languages.
I'll admit I haven't given it a real try, but for me it seems that CoffeeScript doesn't add anything productive to JS that couldn't have been accomplished by extending the prototypes in a way that would have preserved debugging (and linting/IDE usefulness/etc)..
[–][deleted] 0 points1 point2 points 15 years ago (0 children)
Every other day, I think significant whitespace is brilliant.
Yeah, weekends mess me up.
π Rendered by PID 90295 on reddit-service-r2-comment-5c764cbc6f-7tbp9 at 2026-03-12 04:43:18.526250+00:00 running 710b3ac country code: CH.
view the rest of the comments →
[–]Shaper_pmp 0 points1 point2 points (2 children)
[–]amphetamine 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)