Skip to content
M LearnwithManoj

Bridge Pattern Explained - Kill the Class Explosion | 10/25

Bridge Pattern - the fix for class hierarchies that explode into `RedCircle`, `BlueCircle`, `RedSquare`, `BlueSquare`.

1 min read

Bridge Pattern - the fix for class hierarchies that explode into RedCircle, BlueCircle, RedSquare, BlueSquare. Split one tree into two and let them grow independently.

What’s in the video (5m 51s)

  • 0:00 — Bridge Pattern
  • 0:48 — Real World Example - Website Themes
  • 2:06 — What is Bridge Pattern?
  • 3:34 — How Bridge Pattern Works?
  • 4:12 — Final Takeaway of the Bridge Pattern
  • 4:58 — When to Use Bridge Pattern?

Resources

For more in this series, visit the #design-patterns tag page or jump to the channel uploads list for everything else.

Related posts