Have a personal or library account? Click to login
Scala Design Patterns Cover

Scala Design Patterns

Write efficient, clean, and reusable code with Scala

Paid access
|Sep 2025
Product purchase options

Write efficient, clean, and reusable code with Scala

Key Features

  • Unleash the power of Scala and apply it in the real world.
  • Increase your efficiency by leveraging the power of Creational, Structural, Behavioural, and Functional design patterns.
  • Build object oriented and functional applications quickly and effectively.

Book Description

Scala has become increasingly popular in many different IT sectors. The language is exceptionally feature-rich which helps developers write less code and get faster results. Design patterns make developer’s lives easier by helping them write great software that is easy to maintain, runs efficiently and is valuable to the company or people concerned.

You will learn about the various features of Scala and be able to apply well-known, industry-proven design patterns in your work. The book starts off by focusing on some of the most interesting features of Scala while using practical real-world examples. We will also cover the popular "Gang of Four" design patterns and show you how to incorporate functional patterns effectively. By the end of this book, you will have enough knowledge and understanding to quickly assess problems and come up with elegant solutions.

What you will learn

  • Immerse yourself in industry-standard design patterns—structural, creational, and behavioral—to create extraordinary applications.
  • Feel the power of traits and their application in Scala.
  • Implement abstract and self types and build clean design patterns.
  • Build complex entity relationships using structural design patterns.
  • Create applications faster by applying functional design patterns.

Who this book is for

If you want to increase your understanding of Scala and apply it to real-life application development, then this book is for you. We’ve also designed the book to be used as a quick reference guide while creating applications. Previous Scala programming knowledge is expected.

Table of Contents

  1. The Design Patterns Out There and Setting Up Your Environment
  2. Traits and Mixin Compositions
  3. Unification
  4. Abstract and Self Types
  5. Aspect Oriented Programming and Components
  6. Creational Patterns
  7. Structural Patterns
  8. Behavioral Patterns - Part 1
  9. Behavioral Patterns - Part 2
  10. Functional Design Patterns - The Deep Theory
  11. Functional Design Patterns - Applying What We Learned
  12. Real Life Applications
PDF ISBN: 978-1-78588-202-9
Publisher: Packt Publishing Limited
Copyright owner: © 2016 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 382