Adapter Pattern vs Bridge Pattern:
- Bridge and Adapter both point at an existing type. But the bridge will point at an abstract type, and the adapter might point to a concrete type. The bridge will allow you to pair the implementation at runtime, whereas the adapter usually won’t
- Adapter makes things work after they’re designed; Bridge makes them work before they are.
- Bridge is designed up-front to let the abstraction and the implementation vary independently. Adapter is retrofitted to make unrelated classes work together
- Difference between Bridge pattern and Adapter pattern
- When do you use the Bridge Pattern? How is it different from Adapter pattern?