Thursday, November 12, 2020

The Bridge pattern slides


today I plan to take a closer look at the program design pattern known as the Bridge pattern as described by the Gang of 4 aka the fantastic four.


The bridge pattern is a design pattern used in to decouple an abstraction from its implementation so that the two can vary independently.


The bridge uses encapsulation, aggregation, and can use inheritance to separate responsibilities into different classes.


in today’s example we will be using C++

you can find this code in the online repo I have set up at github 

I’ll post a URL for the repo


No comments:

The Strategy Design Pattern a Behavioral Pattern using C++

The Strategy Design Pattern is a behavioral design pattern that enables selecting an algorithm's implementation at runtime. Instead of i...