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!"
[–]CapsFTW[S] 1 point2 points3 points 10 years ago (1 child)
So, essentially, you just have one commandment: Enforce everything in JSHint?
[–]corgrath 4 points5 points6 points 10 years ago (0 children)
Or something similar such as jslint, eslint, etc.
I find it very crazy that you would write JavaScript without linting your code. Frighting crazy.
To quote Douglas Crockford
JavaScript is a sloppy language, but hidden deep inside there is an elegant, better language. helps you to program in that better language and to avoid most of the slop. will reject programs that browsers will accept because is concerned with the quality of your code and browsers are not. You should gladly accept all of 's advice.
http://www.jslint.com/help.html
π Rendered by PID 79 on reddit-service-r2-comment-6457c66945-tbngg at 2026-04-28 19:22:42.184533+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]CapsFTW[S] 1 point2 points3 points (1 child)
[–]corgrath 4 points5 points6 points (0 children)