4
Structural Design Patterns
In the previous chapter, we covered creational patterns and object-oriented programming patterns that help us with object-creation procedures. The next category of pattern we want to present is structural design patterns. A structural design pattern proposes a way of composing objects to provide new functionality.
In this chapter, we’re going to cover the following main topics:
- The adapter pattern
- The decorator pattern
- The bridge pattern
- The facade pattern
- The flyweight pattern
- The proxy pattern
At the end of this chapter, you will be equipped with the skills to structure your code efficiently and elegantly using structural design patterns.
Technical requirements
See the requirements presented in Chapter 1.
The ...
Get Mastering Python Design Patterns - Third Edition 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.