The regular price of this book is $35. It’s currently on sale for $25.
Feedback from readers:
- Your book is fantastic, I can’t find enough words to thank you!
- Best Scala book I’ve read
- This is a GREAT book!
- I finally understand monads. Thank you!
- I love the writing style and the approach, great job!
- I read this everyday after work and it makes me so happy. Thank you for this amazing book.
- I love the small lessons, they make it easy to read.
A modern book
Why learning FP in Scala is hard
When I first started trying to learn functional programming in Scala, I struggled — a lot. I read books on functional programming in Scala, hundreds of blog posts, watched videos, etc., but I still couldn’t understand it.
The only way I was finally able to understand FP was to take a few weeks off from my regular job and learn Haskell. Once I understand FP in Haskell I came back to Scala and it all made sense. I now knew why I couldn’t learn functional programming in Scala, and I share everything I learned in the lessons of this book.I believe my “Five Rules” will help you learn Scala/FP, and I hope it will save you all of the time I lost and frustration I went through.
All the best,
In the book you’ll learn:
- five important rules for writing FP code in Scala
- why pure function signatures are much more important than OOP method signatures
- how pure functions work with I/O
- lessons to simplify recursion
- partially-applied functions and currying
- type signatures are covered many times, so your brain can get used to patterns like `StateT[IO,GameState,Int]`
- the proper way to handle exceptions and null values
- many lessons on for-expressions, which lead naturally into monads
- State and IO monads, and monad transformers like StateT
- domain modeling with Scala/FP
- an introduction to type classes, including an example with the Cats library
- handling concurrency with Akka actors and Scala futures
- visual lessons on collections’ methods like `fold` and `reduce`
- much more ...
The book is organized into small, single-purpose lessons that flow in a logical order. You’ll see how one concept naturally leads to the next concept, and that concept leads to another one, and so on.
What you get
Here on Gumroad.com you’ll get a copy of the PDF version of Functional Programming, Simplified. This is the full, unmodified version of the book. In December, 2018, I’ll be releasing a large-print version of the PDF that will work well with Kindle readers.
You can buy the paperback version of the book here: https://amzn.to/2DJ2s9J
And you can buy the Kindle version of the book here: https://amzn.to/2Bv9LjC
There are no refunds on digital products like this, but you can obtain a large, free preview of the book at this URL: