Use cases
Using the bridge pattern is a good idea when you want to share an implementation among multiple objects. Basically, instead of implementing several specialized classes, defining all that is required within each class, you can define the following special components:
- An abstraction that applies to all the classes
- A separate interface for the different objects involved
Next, we will see an implementation example that illustrates this approach.