Language mechanisms
- inheritance -- class
- delegation -- object
Adaptor versus Bridge
wrapper
- Adaptor resolves inconsistencies between interfaces
- Bridge relates abstraction to ... implementation
Composite vs Decorator vs Proxy
recursive composition
- Composite represents structure
- Decorator adds responsibilities
- Proxy regulates access
slide: Idioms or Language mechanisms