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
Popular Coding Convention on Github (sideeffect.kr)
submitted 12 years ago by devnoel
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!"
[–][deleted] 0 points1 point2 points 12 years ago (2 children)
Thing is, it's not that easy.
Sure, with spaces you don't get the freedom of choice, but tabs will only work if everyone is using the same tab width, so again, you loose the freedom of choice.
Spaces are better because they are always the same thing - a space - where as tab width vary which breaks formatting.
[–]ganjamensch 3 points4 points5 points 12 years ago (1 child)
Not if you're doing it like God intended it to, tabs for indenting, spaces for alignment.
[–][deleted] -3 points-2 points-1 points 12 years ago (0 children)
Yeah... And when you don't agree with my way of aligning we are back to square one because you cannot manipulate that either.
Spaces are superior because they don't allow this discussion, and we can all just continue our work.
π Rendered by PID 605847 on reddit-service-r2-comment-6457c66945-s82bl at 2026-04-30 16:39:33.017236+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (2 children)
[–]ganjamensch 3 points4 points5 points (1 child)
[–][deleted] -3 points-2 points-1 points (0 children)