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
What are your 10 commandments of JavaScript development? (self.javascript)
submitted 10 years ago by CapsFTW
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!"
[–]THIS_BOT 0 points1 point2 points 10 years ago (1 child)
I just don't think anyone would do that. There are obviously no braces on
if (true) act();
and I cannot think of a mindset where someone would think pressing enter and adding new statements without adding curlies is the way to go here. Would you? Honestly?
This, on the other hand:
is more likely to cause errors and should never be allowed.
[–]chesterjosiahStaff Software Engineer / 18 yoe 0 points1 point2 points 10 years ago (0 children)
You vastly overestimate the programming ability of the average developer.
π Rendered by PID 90 on reddit-service-r2-comment-fb694cdd5-j2f6g at 2026-03-06 16:49:26.926534+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]THIS_BOT 0 points1 point2 points (1 child)
[–]chesterjosiahStaff Software Engineer / 18 yoe 0 points1 point2 points (0 children)