# Bridge: Any Control, Any Device

Three ways to control the house (the phone app, voice and the wall panel) times three brands of device made nine classes, and every new control or brand adds a whole row of them; a bridge splits the two into separate families, controls that have a device, so a new control or a new brand is one new class.

![Cheat sheet: Bridge: Any Control, Any Device](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/c0925e2c12b84c9583cf86f811251a5f.webp)

- Category: Data Structures
- Level: Journeyman
- Tags: Bridge Pattern, Composition, Composition over Inheritance, OOP
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-bridge-cheat-sheet
