Assertion Quote by Alexander Stepanov
“Complexity assertions have to be part of the interface”
About This Quote
Source Article: “Designing Generic Algorithms”, 1997
Interfaces should explicitly include complexity requirements to set correct expectations.
In simple terms: Complexity must be part of interface design.
Specify algorithmic costs clearly.
Themes
Mood
Type
When to use this quote
- Library design
- API documentation
- performance testing
- client communication
Key Concepts
Questions to Reflect On
- How do you balance abstraction with performance details?
- When should complexity be hidden?
Complexity may be hidden or variable in practice.