Lesson
Vocabulary: Bridge
Vocabulary after construction: Bridge
The previous exercise began with Expected Behavior and design pressure, not with this name.
The structure that emerged is traditionally called Bridge.
What the reasoning established
- Stable role: Rendering and transport are two separate capabilities.
- Change pressure: Message meaning and delivery mechanism vary independently.
- Ownership/lifetime when relevant: Both collaborators are supplied at construction.
- Structural consequence: The abstraction composes one renderer with one transport.
- Runtime topology: render data, then send rendered text.
Nearby distinction
Adapter: Bridge is designed so two dimensions vary independently; Adapter translates an already-incompatible boundary.
Simplify
Ask whether any abstraction can be removed while preserving the original acceptance behavior and design-stress property. If yes, prefer the simpler design.
Use the pattern name to communicate a structure you can already justify. Do not use the name as a recipe that replaces requirements analysis.
Sign in with an enabled provider to save your lesson progress.
Sign in to track progress
Loading sign-in options…