Bridge
An important aspect of a good object-oriented design is strong separation between an abstraction and its implementation. Multiple structural patterns deal specifically with this area. so the next part of the book is dedicated to them. I'll start with the bridge pattern and then dedicate the next chapter to other patterns of this kind.
The bridge pattern introduces a strong separation between an interface and its implementation. By this approach, we define the abstraction part as one inheritance hierarchy (a group of derived classes) and the implementation part as another hierarchy. The main point is that the abstraction and implementation hierarchies have nothing in common. The only connection between them is that the abstraction part ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access