Computing Quote by Alan Perlis
“If you have a procedure with 10 parameters, you probably missed some.”
About This Quote
Having a function with many parameters often indicates a design flaw; simpler interfaces are preferable.
In simple terms: Too many parameters hint at poor design.
Simplify function interfaces.
Themes
Mood
Type
When to use this quote
- coding projects
- team code reviews
- system architecture
- library development
Key Concepts
Questions to Reflect On
- How can you reduce parameter count?
- When is a complex interface justified?
It may not apply to inherently complex systems.