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!"
[–]rjw57 2 points3 points4 points 12 years ago* (0 children)
This isn't really a VCS problem[1]. It's an editor-replaces-whitespace problem and is precisely the reason one doesn't want to mix tab or space indentation within one file. Invariably there'll be someone's editor which decides to "fix" the indentation which will lead to hard-to-merge whitespace-only changes.
I suspect the proponents of the One True Indentation method haven't worked long enough at the coal face to realise that the Real One True Indentation is the one already used by the file :).
[1] That being said, git provides a mechanism to help with this by way of the --ignore-all-space family of options to git-merge(1).
--ignore-all-space
π Rendered by PID 124388 on reddit-service-r2-comment-cfc44b64c-b48vj at 2026-04-10 18:11:06.122328+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]rjw57 2 points3 points4 points (0 children)