Components and Interfaces
Interfaces are the means by which components connect
- “A set of named operations that can be invoked by clients”
- Specification of the interface becomes the mediating middle that lets the two parties work together
Direct (procedural) and indirect (object) interfaces
- Object interface introduces an indirection called method dispatch
- Has a big effect when versioning objects, for example
- Very view solutions to this problem!