r/functionalprogramming • u/dermeddjamel • Aug 15 '23
Question Which book is better to start learning FP ?
Hello guys
I am thinking of buying one of these books to learn FP using Javscript
- Grokking Functional Programming
- Grokking Simplicity: Taming complex software with functional thinking
- Mastering JavaScript Functional Programming - Federico Kereki
which one should I go for ?
23
Upvotes
13
u/[deleted] Aug 15 '23
https://github.com/MostlyAdequate/mostly-adequate-guide
This is an amazing free book
4
u/jmhimara Aug 15 '23
Are you set on Javascript?
This is the best book imo: https://cs3110.github.io/textbook/cover.html
9
u/urbanespaceman99 Aug 15 '23
I see nobody has mentioned "Learn you a Haskell for Great Good!" yet, so I'll throw that one in...
http://www.learnyouahaskell.com/
7
u/stroborobo Aug 15 '23
Honestly I'd start with the Elm Guide, it's a pure functional language, designed to be simple and easy to understand with a helpful compiler. If you're already in webdev, it's a familiar domain, and learning by doing tends to work pretty well. I liked it a lot as a starting point and it was the first approach that actually made it click for me.
4
u/achilles_good_heel Aug 15 '23
I really liked Functional JavaScript by Michael Fogus. I was writing TypeScript at a Clojure shop and it was recommended to me by a couple of FP purists. It's a straightforward and helpful read.
4
u/Top_Lime1820 Aug 15 '23
I used the book by Atencio.
Had a rough idea on FP from R, but that book was great. Especially the code snippets. I briefly understood what a monad was.
Also, watch everything by Scott Wlaschin on YouTube. Its F# but the concepts are so valuable.
2
u/Ok-Needleworker-145 Aug 16 '23
The best book for me is in the language I already use at the job.
2
u/[deleted] Aug 18 '23
Learn Erlang instead of functional programming. It will force you to deeply understand functional programming and might even make you a convert.
2
u/Terrible-Ad-1746 Nov 23 '24
I stumble on this book "JavaScript for Insurance - Mastering Higher-Order Functions in Claim Management:" which I bought from Amazon, and the book emphasizes on JavaScript Higher-Order Functions. After reading the book, I can understand why JavaScript FP excels in its use of higher-order functions, cementing its significance in the realm of programming languages.
1
u/[deleted] Jun 11 '25
[removed] — view removed comment