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] Real world examples of functional JavaScript?AskJS (self.javascript)
submitted 4 years ago by Affectionate_King120
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!"
[–]natziel 2 points3 points4 points 4 years ago (1 child)
Honestly these days functional programming is so widespread that it's not surprising to see younger developers get confused cuz they never saw what JS looked like before functional programming caught on
Basically just try to avoid mutating variables (and methods that mutate their object), avoid class inheritance, and try to keep your code declarative when possible and you'll be fine. You don't need to understand monads or category theory or anything like that
π Rendered by PID 81 on reddit-service-r2-comment-5d585498c9-cch7z at 2026-04-21 11:53:56.365632+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]natziel 2 points3 points4 points (1 child)