Difference between Bridge pattern and Adapter pattern
“Adapter makes things work after they’re designed; Bridge makes them work before they are. [GoF, p219]” Effectively, the Adapter pattern is useful when you have existing code, be it third party, or in-house, but out of your control, or otherwise not changeable to quite meet the interface you need it to. For instance, we have … Read more