Structural patterns

Bridge

Split one thing that varies in TWO dimensions into two separate hierarchies, joined by a reference, so each can grow independently instead of multiplying. An animated lesson where the diagram draws itself as the design grows.

  • Lesson 6 of 7
  • Animated diagrams

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

7 lessons, each with diagrams that draw themselves.

What you will learn

  • When a class varies along two axes
  • Separate the two hierarchies
  • Why it's powerful

More low-level design

Watch Bridge take shape

Sign in and the lesson opens with its diagram ready to play, and the rest of Structural patterns beside it.

DSA comes with the all labs plan and every ChaiCode batch.