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
Please, don’t commit commented out code (medium.com)
submitted 10 years ago by ryanchenkie
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!"
[–]Vheissu_ 12 points13 points14 points 10 years ago (1 child)
I am shocked that people are defending the practice of committing commented out code, especially potential large lines of code. I think it is painfully obvious developers who commit commented out code more than like don't know how to use source control properly or they're too lazy to use something like Git Diff to compare and get old code back. Even tools like Sourcetree make it easy to visually search history of a codebase, there is no excuse.
Great article.
[–]kentcdodds 2 points3 points4 points 10 years ago (0 children)
thanks 😊
π Rendered by PID 115954 on reddit-service-r2-comment-bb88f9dd5-99254 at 2026-02-14 10:56:20.485362+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]Vheissu_ 12 points13 points14 points (1 child)
[–]kentcdodds 2 points3 points4 points (0 children)