Skip to content

Files

Latest commit

1495e91 · May 31, 2019

History

History

bridge

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 31, 2019
Oct 24, 2018
Oct 24, 2017

README.md

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.