Structural Design Pattern

The Bridge Design Pattern
The Bridge Design Pattern

What is the Bridge Design Pattern? What the bridge pattern basically does is allow you to separate closely related objects into two categories: Abstraction and Implementation. This prevents complexity from increasing exponentially as you add more and more different classes into your application. Why …

The Adapter Design Pattern
The Adapter Design …

What is the Adapter Design Pattern? Imagine you are traveling to a different country, and the plugs for your devices don’t fit the local power sockets. What do you do? You take out your trusty European to North American power outlet adapter. This is the essence of the Adapter Design Pattern. …