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.
Updated

- Category
- Data Structures
- Level
- Journeyman
- Tags
- Bridge Pattern, Composition, Composition over Inheritance, OOP