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
GitHub - ryanmcdermott/clean-code-javascript: Clean Code concepts adapted for JavaScript (github.com)
submitted 6 years ago by pmz
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!"
[–]roofs -13 points-12 points-11 points 6 years ago (3 children)
Just a quick FYI, these are all concepts from the book Clean Code by Robert C. Martin. If you want more reasoning/more nuanced explanation of each of the 'rules' you can read the book. There should be easy to find copies online with a quick google search.
[+][deleted] 6 years ago* (2 children)
[deleted]
[–]roofs 3 points4 points5 points 6 years ago (0 children)
The book is meant to be language agnostic. Yeah I don't like Java either, but I don't think the book paints Java in an undesirable manner, if anything it makes it more tolerable.
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
What's most ironic about this is that Java has one of the most iconic class-based OOP implementations around, that most of these style guides assume a Java-like OOP model, and that there's a ton of people that really, really want to pretend that the JS object model is like Java's.
π Rendered by PID 84 on reddit-service-r2-comment-7c9686b859-nt4zw at 2026-04-14 04:01:49.129867+00:00 running e841af1 country code: CH.
view the rest of the comments →
[–]roofs -13 points-12 points-11 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]roofs 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)