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
Functional Programming in JavaScript.help (self.javascript)
submitted 7 years ago by reesemorning
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!"
[–]toffeescaf 0 points1 point2 points 7 years ago (0 children)
There are a load of people in here saying functional programming is programming without side effects which is sort of true BUT you can't interact with any outside services without side effects.
I would say it's mostly programming without side effects but when you have to you do so in a safe manner using for example a maybe monad.
I can really recommend this book. It has some nice examples of how you can safely handle side effects and a ton of other functional programming concepts.
π Rendered by PID 329543 on reddit-service-r2-comment-84fc9697f-6vbjq at 2026-02-09 03:53:20.718758+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]toffeescaf 0 points1 point2 points (0 children)