Functional Programming in Scala vs Programming in Scala: A Comprehensive Step-by-Step Guide, 2nd Edition
When comparing Functional Programming in Scala vs Programming in Scala: A Comprehensive Step-by-Step Guide, 2nd Edition, the Slant community recommends Programming in Scala: A Comprehensive Step-by-Step Guide, 2nd Edition for most people. In the question“What are the best resources to learn Scala?” Programming in Scala: A Comprehensive Step-by-Step Guide, 2nd Edition is ranked 2nd while Functional Programming in Scala is ranked 5th. The most important reason people chose Programming in Scala: A Comprehensive Step-by-Step Guide, 2nd Edition is:
"Programming in Scala: A Comprehensive Step-by-Step Guide" is written by Martin Odersky, the creator of Scala.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Creative, fun exercises
"Functional Programming in Scala" offers no shortage of exercises. Throughout the book, exercises and examples are plentiful to help the reader put what they're learning into practice for a better understanding.
Pro Does an excellent job of teaching functional programming
"Functional Programming in Scala" focuses on building a strong foundation in Functional Programming(FP). It fully explains FP concepts, including the "why" behind everything discussed.
Pro Written by the creator of Scala
"Programming in Scala: A Comprehensive Step-by-Step Guide" is written by Martin Odersky, the creator of Scala.
Cons
Con Not for beginners
The material gets advanced pretty quickly. The material in the book is more effective if you already have an introduction to category theory and combinatorial analysis.
Con Only uses Scala as a medium to teach functional programming
Rather than focusing on teaching the language (such as the syntax), "Functional Programming in Scala" only uses Scala as the medium for teaching functional programming. This means the reader needs to already have some experience with Scala.