About this book
Scala smoothly integrates object-oriented and functional programming. It is designed to express common programming patterns in a concise, elegant, and typesafe way. Pattern matching over class hierarchies uniﬁes functional and object-oriented data access, which greatly simpliﬁes the processing of XML trees.
This book uses your existing Java knowledge as a springboard to accelerate into the advanced topic of object-oriented design using Scala. You will develop applications using OOP principles and methods. This book allows the reader to go from a competent Java programmer, dipping his or her toe into Scala, to a full-fledged productive Scala programmer ready to employ Scala in a real working environment.
The book starts with the mechanics of the Scala language such as the “object” and “trait” keywords as building blocks to show the types of patterns that a fluent Scala programmer would regularly employ, such as companion-classes and mixin inheritance. This will make you comfortable with intermediate topics and will help you to move on to the advanced global view of object-oriented design such as the Liskov Subtitution Principle, modular design and design-by-contract, and how it can be applied in Scala programming.
Scala Object-Oriented Programming will enhance your knowledge from what you already know by working with Java, and so it is the fastest way for a Java programmer to master the Scala language.
- Publication date:
- February 2015