Описание тега bridge

A design pattern that decouples an abstraction from its implementation so that the two can vary independently. One of the Gang of Four's structural design patterns.

The Bridge pattern is a design pattern used in software engineering which is meant to "decouple an abstraction from its implementation so that the two can vary independently". Bridge uses encapsulation, aggregation, and can use inheritance to separate responsibilities into different classes.

This is one of the Gang of Four's structural design-patterns, first published in Gamma et al.'s book "Design Patterns: Elements of Reusable Object-Oriented Software".

More information is available on Wikipedia.

Bridge Design Pattern on SourceMaking

Bridge Design Pattern on GeeksForGeeks

Bridge Design Pattern example video