Data structures Quote by Alan J. Perlis
““It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.””
About This Quote
Source Book: Programming Language Design, 1972
Using a single data structure for many functions simplifies design, reduces complexity, and improves maintainability compared to many structures with many functions.
In simple terms: One data structure simplifies many functions.
Prefer unified data design.
Themes
Mood
Type
When to use this quote
- coding projects
- system architecture
- refactoring
Key Concepts
Questions to Reflect On
- What trade‑offs exist with a single data structure?
- When might multiple structures be better?