Bridge (cont’d)
Consequences:
- implementation decoupled from abstraction
- implementation can be changed at run-time
- cost of indirection
Implementation
- configuring abstraction with implementation
- weak vs. strong implementation coupling
- strong coupling: implementor knows abstraction (back pointer)
Known Uses
- IBM Smalltalk Collection classes
- early version only!
- implementation initiates
change of representation