In this article you will learn a quick and straightforward explanation of the bridge pattern.
The Bridge Design Pattern allows you to decouple the implementation from the abstraction. In other words we can have the implementation separated from our classes and reuse them rather than implementing another hierarchy level.One simple example mentioned on Stack Overflow is the following structure:Implementing the Bridge Pattern it becomes:This simple example explains what it is and shows you why you would want it. But what about a more realistic world example? Well, we could, for example, rename the “Color” stuff to “DrawingApi”.
Drawing hot!Drawing cool!
Exploring Design Pattern for Dummies