Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 365 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 365 Bytes

Bridge

Elements

  • Abstraction
  • AbstractionImplementation
  • Implementor
  • ConcreteImplementor

Description

This design pattern is used 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.