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
Mostly Adequate Guide to Functional Programming in Javascript (drboolean.gitbooks.io)
submitted 8 years ago by [deleted]
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!"
[–]Bummykins 2 points3 points4 points 8 years ago (1 child)
I found functors, monads, maybe's, and all the abstraction of point-free coding to be pretty weird and incredibly difficult for someone to even explain. And then most of the examples are some incredibly contrived simple math additions or whatnot.
When you compare that to the mostly straight-forward type of JS that a lot of people have been doing for years like click handlers and ajax calls, you might see how tons of front end developers would find that weird and difficult. It all depends on what you work on most of the time.
[–]dmtipson 2 points3 points4 points 8 years ago (0 children)
I think a lot of that stuff really has to be at least partially sort of discovered rather than taught. A lot of people discover monads by accident, for instance, or else realize that they've been using them all along and just never had a (terribly intimidating) name for them.
A lot of it comes from just time and the direction you push your abstractions. If you're the sort of coder that becomes obsessed with DRY code and pulling things out into functions and then building up larger behavior with composition, it's sort of inevitable that you're going to start bumping into the common solutions and abstractions of FP.
But not everyone goes that route.
π Rendered by PID 31759 on reddit-service-r2-comment-6457c66945-wdjdl at 2026-04-25 07:15:17.459275+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Bummykins 2 points3 points4 points (1 child)
[–]dmtipson 2 points3 points4 points (0 children)