---
title: "Meaning & Key Takeaway of: It is better to have 100 functions…"
description: "\"It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.\" — Alan Perlis"
image: "https://sms4smile.com/quotes/i/45e/alan-perlis-11812_data_it-is-better-to-have-100-functions-opera_829983.png"
---

#  It is better to have 100 functions operate on one data…

![“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](https://sms4smile.com/quotes/i/45e/alan-perlis-11812_data_it-is-better-to-have-100-functions-opera_829983.png)   [Download](https://sms4smile.com/quotes/i/45e/alan-perlis-11812_data_it-is-better-to-have-100-functions-opera_829983.png) [Open image](https://sms4smile.com/quotes/i/45e/alan-perlis-11812_data_it-is-better-to-have-100-functions-opera_829983.png)

> “It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.”

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

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.

★ ★ ★ ★ ★   No ratings yet

[Data](https://sms4smile.com/quotes/about/data/) [Data structures](https://sms4smile.com/quotes/about/data-structures/) [Structure](https://sms4smile.com/quotes/about/structure/) [Technology](https://sms4smile.com/quotes/about/technology/) [Trust](https://sms4smile.com/quotes/about/trust/)

## Related quotes

> [“It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.”](https://sms4smile.com/quotes/alan-j-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than-2/)

[Alan J. Perlis](https://sms4smile.com/quotes/author/alan-j-perlis/)

> [It's easy to make mistakes that only come out much later, after you've already implemented a lot of code. You'll realize Oh I should…](https://sms4smile.com/quotes/guido-van-rossum/it-s-easy-to-make-mistakes-that-only-come-out-much-later-after-you-ve/)

[Guido van Rossum](https://sms4smile.com/quotes/author/guido-van-rossum/)

> [In C there are no data structures: there are pointers and pointer arithmetic. So you have a pointer into a data structure.](https://sms4smile.com/quotes/james-gosling/in-c-there-are-no-data-structures-there-are-pointers-and-pointer/)

[James Gosling](https://sms4smile.com/quotes/author/james-gosling/)

> [A data structure is just a stupid programming language.](https://sms4smile.com/quotes/bill-gosper/a-data-structure-is-just-a-stupid-programming-language/)

Bill Gosper

> [Bitcoin is a way to have programmable scarcity. The blockchain is the data structure that records the transfer of scarce objects.](https://sms4smile.com/quotes/balaji-srinivasan/bitcoin-is-a-way-to-have-programmable-scarcity-the-blockchain-is-the/)

[Balaji Srinivasan](https://sms4smile.com/quotes/author/balaji-srinivasan/)

> [“The string is a stark data structure and everywhere it is passed there is much duplication of process. It is a perfect vehicle for…](https://sms4smile.com/quotes/alan-j-perlis/the-string-is-a-stark-data-structure-and-everywhere-it-is-passed/)

[Alan J. Perlis](https://sms4smile.com/quotes/author/alan-j-perlis/)

> [“An object is not a data structure. In fact, if you are the consumer of an object, you aren't allowed to see any data…](https://sms4smile.com/quotes/anonymous/an-object-is-not-a-data-structure-in-fact-if-you-are-the-consumer-of/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [Thought, without the data on which to structure that thought, leads nowhere.](https://sms4smile.com/quotes/victor-j-stenger/thought-without-the-data-on-which-to-structure-that-thought-leads/)

[Victor J. Stenger](https://sms4smile.com/quotes/author/victor-j-stenger/)

> [“Compassion is what you're good at. I'm better at complex searches through organized data structures.”](https://sms4smile.com/quotes/orson-scott-card/compassion-is-what-you-re-good-at-i-m-better-at-complex-searches/)

[Orson Scott Card](https://sms4smile.com/quotes/author/orson-scott-card/)

> [“A distinctive property of functional data structures is that they are always persistent—updating a functional data structure does not destroy the existing version, but…](https://sms4smile.com/quotes/chris-okasaki/a-distinctive-property-of-functional-data-structures-is-that-they-are/)

Chris Okasaki

> [The programmer's primary weapon in the never-ending battle against slow system is to change the intramodular structure. Our first response should be to reorganize…](https://sms4smile.com/quotes/fred-brooks/the-programmer-s-primary-weapon-in-the-never-ending-battle-against/)

[Fred Brooks](https://sms4smile.com/quotes/author/fred-brooks/)

> [Smart data structures and dumb code works a lot better than the other way around.](https://sms4smile.com/quotes/eric-s-raymond/smart-data-structures-and-dumb-code-works-a-lot-better-than-the-other/)

[Eric S. Raymond](https://sms4smile.com/quotes/author/eric-s-raymond/)

> [“Other than when dealing with exception-unsafe legacy code (which we'll discuss later in this Item), offering no exception safety guarantee should be an option…](https://sms4smile.com/quotes/scott-meyers/other-than-when-dealing-with-exception-unsafe-legacy-code-which-we-ll/)

[Scott Meyers](https://sms4smile.com/quotes/author/scott-meyers/)

> [I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his…](https://sms4smile.com/quotes/linus-torvalds/i-will-in-fact-claim-that-the-difference-between-a-bad-programmer-and/)

[Linus Torvalds](https://sms4smile.com/quotes/author/linus-torvalds/)

> [ “Database Management System \[Origin: Data + Latin basus "low, mean, vile, menial, degrading, ounterfeit."\] A complex set of interrelational data structures allowing data to… ](https://sms4smile.com/quotes/anonymous/database-management-system-origin-data-latin-basus-low-mean-vile/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

## More by Alan Perlis

> [You can measure a programmer's perspective by noting his attitude on the continuing vitality of FORTRAN.](https://sms4smile.com/quotes/alan-perlis/you-can-measure-a-programmer-s-perspective-by-noting-his-attitude-on/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [In English every word can be verbed. Would that it were so in our programming languages.](https://sms4smile.com/quotes/alan-perlis/in-english-every-word-can-be-verbed-would-that-it-were-so-in-our/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [LISP programmers know the value of everything and the cost of nothing.](https://sms4smile.com/quotes/alan-perlis/lisp-programmers-know-the-value-of-everything-and-the-cost-of-nothing/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [I think that it's extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot…](https://sms4smile.com/quotes/alan-perlis/i-think-that-it-s-extraordinarily-important-that-we-in-computer/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [Simplicity does not precede complexity, but follows it.](https://sms4smile.com/quotes/alan-perlis/simplicity-does-not-precede-complexity-but-follows-it/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [Optimization hinders evolution. Everything should be built top-down, except the first time. Simplicity does not precede complexity, but follows it.](https://sms4smile.com/quotes/alan-perlis/optimization-hinders-evolution-everything-should-be-built-top-down/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [The computing field is always in need of new cliches.](https://sms4smile.com/quotes/alan-perlis/the-computing-field-is-always-in-need-of-new-cliches/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it.](https://sms4smile.com/quotes/alan-perlis/fools-ignore-complexity-pragmatists-suffer-it-some-can-avoid-it/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [A programming language is low level when its programs require attention to the irrelevant.](https://sms4smile.com/quotes/alan-perlis/a-programming-language-is-low-level-when-its-programs-require/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [Syntactic sugar causes cancer of the semicolon.](https://sms4smile.com/quotes/alan-perlis/syntactic-sugar-causes-cancer-of-the-semicolon/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [When a professor insists computer science is X but not Y, have compassion for his graduate students.](https://sms4smile.com/quotes/alan-perlis/when-a-professor-insists-computer-science-is-x-but-not-y-have/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [A year spent in artificial intelligence is enough to make one believe in God.](https://sms4smile.com/quotes/alan-perlis/a-year-spent-in-artificial-intelligence-is-enough-to-make-one-believe/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [In software systems it is often the early bird that makes the worm.](https://sms4smile.com/quotes/alan-perlis/in-software-systems-it-is-often-the-early-bird-that-makes-the-worm/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [In man-machine symbiosis, it is man who must adjust: The machines can't.](https://sms4smile.com/quotes/alan-perlis/in-man-machine-symbiosis-it-is-man-who-must-adjust-the-machines-can-t/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [Every program has two purposes: The one for which it was written and another for which it wasn't.](https://sms4smile.com/quotes/alan-perlis/every-program-has-two-purposes-the-one-for-which-it-was-written-and/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

[Explore all 57 Alan Perlis quotes ](https://sms4smile.com/quotes/author/alan-perlis/)

## More Data quotes

> [Information is money, but data is squat](https://sms4smile.com/quotes/angela-llama-butler/information-is-money-but-data-is-squat/)

Angela Llama-Butler

> [“ data analytics consulting Perceptive Analtyics is a data analytic company and a trusted advisor to its clients across domains. Click to know more”](https://sms4smile.com/quotes/sebastianmax/data-analytics-consulting-perceptive-analtyics-is-a-data-analytic/)

SebastianMax

> [The information nation took their clues from all the sound bite gluttons.](https://sms4smile.com/quotes/rem/the-information-nation-took-their-clues-from-all-the-sound-bite/)

[REM](https://sms4smile.com/quotes/author/rem/)

> [Sometimes I am a collector of data, and only a collector, and am likely to be gross and miserly, piling up notes, pleased with…](https://sms4smile.com/quotes/charles-fort/sometimes-i-am-a-collector-of-data-and-only-a-collector-and-am-likely/)

[Charles Fort](https://sms4smile.com/quotes/author/charles-fort/)

> [But actually theory is very practical. Gravity is a theory, for example. It allows you to predict that if you step off a cliff…](https://sms4smile.com/quotes/clayton-christensen/but-actually-theory-is-very-practical-gravity-is-a-theory-for-example/)

[Clayton Christensen](https://sms4smile.com/quotes/author/clayton-christensen/)

> [Statistics are like miniskirts: They give you good ideas but hide the important things.](https://sms4smile.com/quotes/ebbe-skovdahl/statistics-are-like-miniskirts-they-give-you-good-ideas-but-hide-the/)

Ebbe Skovdahl

> [Unlike return, however, risk is no more quantifiable at the end of an investment that it was at its beginning. Risk simply cannot be…](https://sms4smile.com/quotes/seth-klarman/unlike-return-however-risk-is-no-more-quantifiable-at-the-end-of-an/)

[Seth Klarman](https://sms4smile.com/quotes/author/seth-klarman/)

> [Finding patterns is easy in any kind of data-rich environment; that's what mediocre gamblers do. The key is in determining whether the patterns represent…](https://sms4smile.com/quotes/nate-silver/finding-patterns-is-easy-in-any-kind-of-data-rich-environment-that-s/)

[Nate Silver](https://sms4smile.com/quotes/author/nate-silver/)

> [ \[Brazil\] went to the UN and said, "We need new standards for this." We need to take a look at what they're calling "data… ](https://sms4smile.com/quotes/edward-snowden/brazil-went-to-the-un-and-said-we-need-new-standards-for-this-we-need/)

[Edward Snowden](https://sms4smile.com/quotes/author/edward-snowden/)

> [We're living in a technological world. You cannot tell me we can't do a better job getting that information.](https://sms4smile.com/quotes/hillary-clinton/we-re-living-in-a-technological-world-you-cannot-tell-me-we-can-t-do/)

[Hillary Clinton](https://sms4smile.com/quotes/author/hillary-clinton/)

> [Web users ultimately want to get at data quickly and easily. They don't care as much about attractive sites and pretty design.](https://sms4smile.com/quotes/tim-berners-lee/web-users-ultimately-want-to-get-at-data-quickly-and-easily-they-don/)

[Tim Berners-Lee](https://sms4smile.com/quotes/author/tim-berners-lee/)

> [You cannot have 300-some million Americans - and really, right, the global citizenry be at risk of having their phone conversations intercepted with a…](https://sms4smile.com/quotes/ted-lieu/you-cannot-have-300-some-million-americans-and-really-right-the/)

[Ted Lieu](https://sms4smile.com/quotes/author/ted-lieu/)

> [An important finding is that by determining the genome sequences of an entire family, one can identify many DNA sequencing errors and thus greatly…](https://sms4smile.com/quotes/leroy-hood/an-important-finding-is-that-by-determining-the-genome-sequences-of/)

[Leroy Hood](https://sms4smile.com/quotes/author/leroy-hood/)

> [While it's wonderful that investors have access to all the data now available to them, it has become a full-time job to sift through…](https://sms4smile.com/quotes/maria-bartiromo/while-it-s-wonderful-that-investors-have-access-to-all-the-data-now/)

[Maria Bartiromo](https://sms4smile.com/quotes/author/maria-bartiromo/)

> [“The amount of stored information grows four times faster than the world economy, while the processing power of computers grows nine times faster. Little…](https://sms4smile.com/quotes/viktor-mayer-sch-nberger/the-amount-of-stored-information-grows-four-times-faster-than-the/)

[Viktor Mayer-Schönberger](https://sms4smile.com/quotes/author/viktor-mayer-sch-nberger/)

[Browse all 3,134 Data quotes ](https://sms4smile.com/quotes/about/data/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.",
            "creator": {
                "@type": "Person",
                "name": "Alan Perlis"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/alan-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than/",
            "about": {
                "@type": "Thing",
                "name": "Data"
            },
            "@id": "https://sms4smile.com/quotes/alan-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/45e/alan-perlis-11812_data_it-is-better-to-have-100-functions-opera_829983.png",
                "contentUrl": "https://sms4smile.com/quotes/i/45e/alan-perlis-11812_data_it-is-better-to-have-100-functions-opera_829983.png",
                "url": "https://sms4smile.com/quotes/i/45e/alan-perlis-11812_data_it-is-better-to-have-100-functions-opera_829983.png",
                "width": 1080,
                "height": 1080,
                "caption": "“It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10…” — Alan Perlis",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Alan Perlis",
                    "item": "https://sms4smile.com/quotes/author/alan-perlis/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "It is better to have 100...",
                    "item": "https://sms4smile.com/quotes/alan-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/alan-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
