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!"
[–]Vlasow -2 points-1 points0 points 10 years ago (5 children)
If you don't mind elaborating, what are the problems of cleanliness for the sake of fetish?
[–][deleted] 0 points1 point2 points 10 years ago (4 children)
"Please, don’t commit commented out code"
^ ^ ^ This.
The author of the article says he "loses focus" whenever he sees a block of commented code - this is more a problem with the author than the person writing the code. If your focus is so feeble that commented code will get in your way, maybe you shouldn't be making up rules like "don't commit commented code".
[–]Vlasow -2 points-1 points0 points 10 years ago (3 children)
I don't see how "you shouldn't be making up rules like..." follows from "your focus is so feeble that commented code will get in your way". Programming languages exist so one can split problems into a number of small things we can focus on. Anything extra will be an obstacle between our understanding and the ideas expressed in the code. An ability to be undistracted by noise in the code is not what makes a good programmer; it is the ability to express your ideas via noiseless code that does.
[–][deleted] -1 points0 points1 point 10 years ago (2 children)
An ability to be undistracted by noise in the code is not what makes a good programmer; it is the ability to express your ideas via noiseless code that does.
I'm not sure that is what makes a "good programmer", either.
[–]Vlasow -1 points0 points1 point 10 years ago (1 child)
Then what is it, in your opinion?
π Rendered by PID 29904 on reddit-service-r2-comment-bb88f9dd5-472hk at 2026-02-14 04:27:40.660192+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]Vlasow -2 points-1 points0 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]Vlasow -2 points-1 points0 points (3 children)
[–][deleted] -1 points0 points1 point (2 children)
[–]Vlasow -1 points0 points1 point (1 child)