Applications of Introductions
Here are some ideas I’ve heard people mention:
- Adding interfaces to legacy classes or classes for which you do not have the source code
- Adding additional state to an object to extend its behavior beyond its original design
- Implementing multiple inheritance
- …
Comments