O'Reilly logo

Scala Design Patterns by Ivan Nikolov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required