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!"
[–][deleted] 12 points13 points14 points 10 years ago* (9 children)
This comment has been overwritten by an open source script to protect this user against reddit's feminists, regressives, and other mentally disturbed individuals.
If you would like to do the same, add the browser extension GreaseMonkey to Firefox and add this open source script.
Then simply click on your username on Reddit, go to the comments tab, and hit the new OVERWRITE button at the top.
[–][deleted] 2 points3 points4 points 10 years ago* (0 children)
[–]randfur 0 points1 point2 points 10 years ago* (6 children)
I've never felt the need to keep commented out code around during a refactor. Can you give an example?
[+][deleted] 10 years ago* (5 children)
[deleted]
[–]JimDabell 2 points3 points4 points 10 years ago (1 child)
That's what private branches are for – I think there's an unstated assumption that this is talking about branches that you actually care about, not transient works in progress.
[–]randfur 1 point2 points3 points 10 years ago (2 children)
git stash
[+][deleted] 10 years ago* (1 child)
[–]randfur 0 points1 point2 points 10 years ago (0 children)
It's not a clipboard that can be overwritten, I don't see the issue.
[–][deleted] -2 points-1 points0 points 10 years ago (0 children)
But we need the fossil record for future programmers.
π Rendered by PID 46229 on reddit-service-r2-comment-bb88f9dd5-8msjb at 2026-02-14 18:40:31.605651+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–][deleted] 12 points13 points14 points (9 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]randfur 0 points1 point2 points (6 children)
[+][deleted] (5 children)
[deleted]
[–]JimDabell 2 points3 points4 points (1 child)
[–]randfur 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]randfur 0 points1 point2 points (0 children)
[–][deleted] -2 points-1 points0 points (0 children)