In continuation of my previous articles on design patterns, here I am with another very useful pattern — the bridge design pattern.
Bridge Design Pattern
-
The bridge design pattern is a structural pattern used to decouple an abstraction from its implementation so that the two can vary independently.