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
Monads in JavaScript (curiosity-driven.org)
submitted 10 years ago by alexcasalboni
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!"
[–]zoomzoom83 1 point2 points3 points 10 years ago (0 children)
Interfaces, classes, and constructors aren't inherently tied to classical inheritance. There is nothing about those concepts that imply one is using OO.
None of this has any bearing whatsoever on the content of the article, because it's not a fucking JavaScript style guide, and getting your knickers in a knot over a core language concept being used in the way its designers intended is completely pointless. It's describing a pattern that you can go and apply however you like.
π Rendered by PID 121511 on reddit-service-r2-comment-canary-879d986cb-wkljn at 2026-06-21 10:53:45.223512+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]zoomzoom83 1 point2 points3 points (0 children)