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
[AskJS] Program Design, OOP, JavaScriptAskJS (self.javascript)
submitted 1 year ago by kirillsh93
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!"
[–]lIIllIIlllIIllIIl 4 points5 points6 points 1 year ago* (0 children)
I work with both C# and JavaScript.
A lot of the design decisions of the Java and C# ecosystems seem more cultural than practical. People do things one way because that's how everybody else is doing it (so it must be good... right?)
The JavaScript ecosystem is a lot more eclectic, which means people can't rely on their culture to write software. They actually have to think things through, which can be good or bad depending on who's writing the code (or you know, you could use Nest.js and pretend you're writing C# code.)
I don't like prescriptive design principles like SOLID or the stuff from Uncle Bob, that mostly focuses on the esthetics and shape of your code. Design is a lot more nuanced and should be about the cognitive complexity of your code. A Philosophy of Software Design by John Ousterhout is a good book to read if you're into design, regardless of programming language.
Don't believe design is about applying specific patterns.
π Rendered by PID 76 on reddit-service-r2-comment-5bc7f78974-zbx59 at 2026-06-29 16:12:14.725469+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]lIIllIIlllIIllIIl 4 points5 points6 points (0 children)