Bridge Design Pattern

Go back

Aliases πŸ“Œ: None

Description πŸ“š: We are separating an object abstraction from its implementation. For instance, we would separate:

  • A converter (from X to Y) from how we convert something
  • A figure (Circle, Square) from how we render it
  • ...

Basically, we interact with interfaces rather than concrete classes.

Advantages βœ…

  • Flexibility
  • Easier to maintain

Disadvantages 🚫

  • Complexity

Notes πŸ“

  • None