Skip to content

Data Quote by Alan Perlis

“It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.” quote by Alan Perlis
Download Open image
“It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.”

Alan Perlis

About This Quote

Source Book: "Programming Languages", 1972

A single data structure with many functions is simpler than many structures with few functions.

In simple terms: Use one data model for many operations.

Key Takeaway

Design unified data structures.

Themes

software design modularity efficiency simplicity

Mood

analytical practical

Type

technical educational

When to use this quote

  • API design
  • database schema
  • code refactoring
  • system architecture

Key Concepts

computer science software engineering abstraction

Questions to Reflect On

  • How does your data model affect code maintenance?
  • When is a single structure insufficient?
A Different Perspective

Complex data may need multiple structures for performance.

3.9 out of 5 (8 ratings)

More by Alan Perlis

Explore all 57 Alan Perlis quotes

More Data quotes

Browse all 3,134 Data quotes