http://www.mcdonaldland.info/files/designpatterns/designpatternscard.pdf https://refactoring.guru/design-patterns/structural-patterns
quiz time!
Convert the interface of a class into another interface clients expect
Adapter
Decouple an abstraction from an implementation so the two can vary independently
Bridge
Compose objects into tree structures to represent part-whole hierarchies
Composite
Attach additional responsibilities to an object dynamically
Decorator
Provide a unified interface to a set of interfaces in a subsystem
Facade
Use sharing to support large numbers of fine-grained objects efficiently
Flyweight
Provide a surrogate or placeholder for another object to control access to it
Proxy
X is a structural design pattern that allows objects with incompatible interfaces to collaborate.
Adapter
X is a structural design pattern that lets you split a large class or a set of closely related classes into two separate hierarchies—abstraction and implementation—which can be developed independently of each other.
Bridge