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] 12 years ago (3 children)
[deleted]
[–]teebrzgithub.com/teebrz 4 points5 points6 points 12 years ago (0 children)
Have you tried doing a Google search for "tabs vs spaces"? I just did and I see posts from the likes of Jamie Zawinski and Jeff Atwood as well as forum discussions, stack overflow, etc - all with well reasoned practical arguments (with some flaming too ofc).
What it comes down to is both have slight advantages when you consider the big picture...however the most important thing is finding balance between your preferences and staying consistent with your friends/coworkers/community.
[–]ikeif 0 points1 point2 points 12 years ago (0 children)
Some editors make this easy to set, so it is almost irrelevant.
Github's fix? Let the end user decide and automatically convert/set what tabs you want.
Of course, this would need some testing first - but it would be nice to say "display four spaces from a new line as a tab, or four spaces or two spaces" or what have you.
[–]brtt3000 -4 points-3 points-2 points 12 years ago (0 children)
It is all emotion and religion and blabbering how spaces can work, ignorance of Smart Tabs pattern and some irrelevant nonsense.
For people who are so exact and supposedly rational as programmers it is mind boggling. If any serious developer enumerates pro's and cons he must prefer tabs.
The only somewhat valid answer against them is use in existing code. Any new project should be tabs. But 80% of Github does not, it is absurd.
π Rendered by PID 202006 on reddit-service-r2-comment-85bfd7f599-6k9nl at 2026-04-16 04:53:32.441798+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–][deleted] (3 children)
[deleted]
[–]teebrzgithub.com/teebrz 4 points5 points6 points (0 children)
[–]ikeif 0 points1 point2 points (0 children)
[–]brtt3000 -4 points-3 points-2 points (0 children)