r/functionalprogramming • u/maga_ot_oz • Jul 01 '22
JavaScript The best resource to learn functional programming in JavaScript
Hi folks,
As the title suggest I'm looking for resources to learn functional programming in JavaScript. All suggestions are welcome - books, courses, etc.
15
Upvotes
View all comments
Show parent comment
2
u/KyleG Jul 01 '22 edited Jul 01 '22
"Just self-disqualify yourself from a major market segment because you hate mutability, now that is how you learn FP!"
You can write rock-solid FP code in TypeScript without using magic Haskell stuff, and it's not painful at all. You just might pass in an explicit monad object every once in a while instead of the language recognizing "oh he is traversing over an array of State rather than Option here"
auto-currying isn't THAT important