Scala is the language that refuses to choose between object-oriented and functional programming. This book shows you how to use both — together.
Scala in Practice is a hands-on guide to writing real Scala code. Through working examples and production-tested patterns, you will learn case classes, pattern matching, immutable collections, higher-order functions, Option and Either for error handling, type classes with given/using, and concurrent programming with Futures.
You will build a complete application from scratch — a CSV reporter that validates input, transforms data, and produces statistics — using the same techniques that power production systems at Twitter, Netflix, and Airbnb.
No category theory. No abstract monads. Just clean, testable, maintainable Scala that works.
Object-oriented and functional, together, in practice.