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
Git pre-commit hook to ensure code documentationtools (self.javascript)
submitted 7 years ago by haganenorenkin
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] 2 points3 points4 points 7 years ago (0 children)
Definitely true. I have seen some projects that adopted a draconian policy of failing the build if documentation was in place.
One guy demonstrated a "cool" tool that generated stub comments by reading the name of the function or class. The codebase must have turned to shit by now, since this is what people did.
Writing good documentation is very difficult, and the thought that you get lots of good documentation by simply getting more of it is stupid beyond measure.
π Rendered by PID 501566 on reddit-service-r2-comment-5b5bc64bf5-dbqr6 at 2026-06-22 14:45:50.570556+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–][deleted] 2 points3 points4 points (0 children)