Scala Object-Oriented Programming

By Oliver Wong
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies

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 unifies functional and object-oriented data access, which greatly simplifies 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

About the Author

  • Oliver Wong

    Oliver Wong is a compiler designer, and a programming language and static-analysis enthusiast with a passion for helping people write bug-free code. His influence on the software development world includes co-writing standard specifications for OMG to publishing open sourced JavaScript plugins for video gaming websites, and everything in between.

    Browse publications by this author
Scala Object-Oriented Programming
Unlock this book and the full library FREE for 7 days
Start now