Transparency Quote by Eric Freeman
““Composite Pattern takes the Single Responsibility design principle and trades it for transparency.””
About This Quote
Source Book: Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma et al., 1994
The Composite Pattern sacrifices strict single responsibility for greater system transparency and flexibility.
In simple terms: Composite Pattern trades strict responsibility for clarity.
Balance responsibility with clarity when designing.
Themes
Mood
Type
When to use this quote
- code refactoring
- system documentation
- team collaboration
- architecture reviews
Key Concepts
Questions to Reflect On
- When is it better to keep responsibilities separate?
- How does transparency affect maintainability?
Too much transparency can blur component boundaries.