Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 532 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 532 Bytes

Bridge Design Pattern

The Bridge design pattern is a structural design pattern that decouples an abstraction from its implementation so that the two can vary independently.

The Bridge pattern consists of two main components:

  • Abstraction: Defines the interface for the client code
  • Implementation: Provides the actual implementation of that interface

The two components are connected by a bridge, which allows the Abstraction to use the Implementation without the client code knowing anything about the Implementation.