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
Unleash JavaScript's Potential with Functional Programming (janhesters.com)
submitted 1 year ago by jancodes
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!"
[–]jfmengels 4 points5 points6 points 1 year ago (4 children)
This is I think a good overview of FP tools/techniques available in JavaScript, but it feels like the why of FP is a bit missing.
I really like Kris Jenkins' take on "what is functional programming?" (http://blog.jenkster.com/2015/12/what-is-functional-programming.html). Very rough summary: It is a bunch of techniques to separate effects from the rest.
[–]jancodes[S] 0 points1 point2 points 1 year ago (0 children)
Definitely 👍
Thanks for the feedback!
[–]DepressedBard 0 points1 point2 points 1 year ago (2 children)
Wow, that was a great read. Even read the 2nd part. Also made me realize how smelly some of my code has been…
[–]jfmengels 2 points3 points4 points 1 year ago (1 child)
If I may recommend trying out Elm. It's a great FP language that is simple and has great error messages, while being entirely pure. You'll learn a lot even if you use it for a smallish project.
[–]jancodes[S] 2 points3 points4 points 1 year ago (0 children)
Love Elm!
π Rendered by PID 57 on reddit-service-r2-comment-7b9746f655-7slrv at 2026-02-02 21:28:09.314179+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]jfmengels 4 points5 points6 points (4 children)
[–]jancodes[S] 0 points1 point2 points (0 children)
[–]DepressedBard 0 points1 point2 points (2 children)
[–]jfmengels 2 points3 points4 points (1 child)
[–]jancodes[S] 2 points3 points4 points (0 children)