The bridge pattern
A third structural pattern to look at is the bridge pattern. We can actually compare the bridge and the adapter patterns, looking at the way both work. While the adapter pattern is used later to make unrelated classes work together, as we saw in the implementation example we discussed earlier in the section on The adapter pattern, the bridge pattern is designed up-front to decouple an implementation from its abstraction, as we are going to see.
Real-world examples
In our modern, everyday lives, an example of the bridge pattern I can think of is from the digital economy: information products. Nowadays, the information product or infoproduct is part of the resources one can find online for training, self-improvement, or one’s ideas and business development. The purpose of an information product that you find on certain marketplaces, or the website of the provider, is to deliver information on a given topic in such a way that it is easy to access and consume...