Chapter 7. Structural Design Patterns

The next stop of our journey through design patterns will focus on the family of structural design patterns. We will be doing a Scala point of view exploration of the following structural design patterns:

  • Adapter
  • Decorator
  • Bridge
  • Composite
  • Facade
  • Flyweight
  • Proxy

This chapter will give a better understanding of what structural design patterns are and why they are useful. After familiarizing ourselves with what they are, we will be looking into each of them separately and in detail including code examples and hints about when to use each of them and when to avoid them as well as what to be careful with when using them.

What are structural design patterns?

Structural design patterns are concerned with composing objects ...

Get Scala Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.