- Paperback: 320 pages
- Publisher: Manning Publications; 1 edition (September 14, 2014)
- Language: English
- ISBN-10: 1617290653
- ISBN-13: 978-1617290657
- Product Dimensions: 0.5 x 6.8 x 9 inches
- Shipping Weight: 1.1 pounds (View shipping rates and policies)
- Average Customer Review: 62 customer reviews
- Amazon Best Sellers Rank: #45,682 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Functional Programming in Scala 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
About the Author
Browse award-winning titles. See more
Top customer reviews
I use Scala professionally, but recreationally I program in OCaml. I've studied OCaml and Haskell in some depth, and dabbled in even stranger languages like Concurrent Clean and Mercury. So I'm reasonably familiar with the functional programming literature. This is by way of background for the extravagant claim I'm going to make: "Functional Programming in Scala" is the best book on functional programming yet written, regardless of language.
Why do I think that is? Ironically, I think it has to do with essentially two things: that Scala is not a purely functional language like Haskell, Clean, or Mercury, and that Scala is a relatively deficient functional programming language. These issues combine to necessitate more motivation than, e.g. a Haskell book requires (the reader will be doing referentially-transparent programming whether they see the need for it, like it, or not) and greater clarity of exposition (it's easy for FP in Scala to become pretty ugly pretty quickly if you don't approach it with discernment and taste). Thankfully, Paul and Rúnar have the discernment, experience, and taste that this endeavor calls for.
Also perhaps because Scala has seen relatively widespread adoption, the book cannot, and does not, fall into the trap of only discussing the low-hanging fruit of statically-typed functional programming. There are no compilers or theorem provers in this book, cool as whipping one of those out over the weekend undeniably is. This book is about surprisingly mundane stuff... that's proven, over decades, ridiculously easy to get wrong, whether you have one year's experience, ten years' experience, or one year's experience ten times. It turns out all those crazy statically-typed FP claims about greater correctness, ease of reasoning, maintainability, and surprisingly in many cases even performance are true. Part of the genius of this book is that it explains WHY they're true, in detail, with tons of examples, without beating you over the head with it. It breaks statically-typed FP out of the domain of "the smartest guys in the room" and shows why we should all care--and that we all can. I can think of no higher recommendation than that.
If you are sold on FP and want to stay in the FP world while writing Scala then this is the book for you. On the other hand, if you are an OO person in general, or an OO Scala person in particular, then this book will challenge you to look at programming differently and you will come away a better programmer (and maybe an FP one!).
Having come from a flirtation with Haskell and OCaml, but finding myself in need of writing for the JVM, this is exactly the book I needed.
So if you are serious about learning functional programming, this is one of the books you should read. With functional programming became available in Java 8, I predict it will become a mainstream. I still like Object Oriented and I believe Functional Programming and Object Oriented complement each other very well and the combination of these two paradigm is a breakthrough in computing. It is time to read this book to learn functional programming.
I can understand the people who gave only one star. This book is not easy to read, please read some other Scala book first or in the same time. Otherwise you may get lost since it doesn't explain Scala syntax since the author assumed you already knew Scala and want to learn more in Functional Programming. I also read Scala in Action and Scala in Depth and Programming in Scala, Second Edition. You can learn different things from different books. Probably you need to read at least one of those 3 books. I didn't read the books from O'reilly but I guess it is the same as these 3.
However, to ease the learning curve, I would suggest learning some Haskell first. Midway through the book, I started to get hung up on all the terminology and concepts. I'm exploring Haskell now and a lot of what confused me now makes sense.
Most recent customer reviews
This book contains a lot of exercises, which is fine.Read more
AND publisher provides free ebook with print version if new