---
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 10 functions on 10 data structures.”\" — Alan J. Perlis"
image: "https://sms4smile.com/quotes/i/2fe/alan-j-perlis-60237_data-structures_it-is-better-to-have-100-functions-opera_1878486.jpg"
---

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

![“It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.” quote by Alan J. Perlis](https://sms4smile.com/quotes/i/2fe/alan-j-perlis-60237_data-structures_it-is-better-to-have-100-functions-opera_1878486.jpg)   [Download](https://sms4smile.com/quotes/i/2fe/alan-j-perlis-60237_data-structures_it-is-better-to-have-100-functions-opera_1878486.jpg) [Open image](https://sms4smile.com/quotes/i/2fe/alan-j-perlis-60237_data-structures_it-is-better-to-have-100-functions-opera_1878486.jpg)

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

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

## About This Quote

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

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.

Key Takeaway

Prefer unified data design.

Themes

software design simplicity maintainability

Mood

analytical practical

Type

technical educational

When to use this quote

- coding projects
- system architecture
- refactoring

Key Concepts

data abstraction modularity

Questions to Reflect On

- What trade‑offs exist with a single data structure?
- When might multiple structures be better?

★ ★ ★ ★ ★   No ratings yet

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

## Related quotes

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

[Alan Perlis](https://sms4smile.com/quotes/author/alan-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

> [“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/)

> [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/)

> [“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 J. 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-j-perlis/i-think-that-it-s-extraordinarily-important-that-we-in-computer-2/)

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

> [“If art interprets our dreams, the computer executes them in the guise of programs!”](https://sms4smile.com/quotes/alan-j-perlis/if-art-interprets-our-dreams-the-computer-executes-them-in-the-guise/)

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

> [“I hope the ﬁeld of computer science never loses its sense of fun. ... What you know about computing other people will learn. Don’t…](https://sms4smile.com/quotes/alan-j-perlis/i-hope-the-eld-of-computer-science-never-loses-its-sense-of-fun-what/)

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

> [“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/)

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

## More Data structures quotes

> [ “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/)

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

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

> [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/)

> [“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/)

> [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/)

> [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/)

> [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/)

> [“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

> [“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/)

> [Generally, the craft of programming is the factoring of a set of requirements into a a set of functions and data structures.](https://sms4smile.com/quotes/douglas-crockford/generally-the-craft-of-programming-is-the-factoring-of-a-set-of/)

[Douglas Crockford](https://sms4smile.com/quotes/author/douglas-crockford/)

> [“Services interact with their peers strictly through APIs and thus don’t share data structures, database schemata, or other internal representations of objects. Bounded”](https://sms4smile.com/quotes/gene-kim/services-interact-with-their-peers-strictly-through-apis-and-thus-don/)

[Gene Kim](https://sms4smile.com/quotes/author/gene-kim/)

> [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

> [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/)

> [Bad programmers worry about the code. Good programmers worry about data structures and their relationships.](https://sms4smile.com/quotes/linus-torvalds/bad-programmers-worry-about-the-code-good-programmers-worry-about/)

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

> [Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms,…](https://sms4smile.com/quotes/rob-pike/data-dominates-if-you-ve-chosen-the-right-data-structures-and/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

[Browse all 17 Data structures quotes ](https://sms4smile.com/quotes/about/data-structures/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.”",
            "creator": {
                "@type": "Person",
                "name": "Alan J. Perlis"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/alan-j-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than-2/",
            "about": {
                "@type": "Thing",
                "name": "Data structures"
            },
            "@id": "https://sms4smile.com/quotes/alan-j-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than-2/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/2fe/alan-j-perlis-60237_data-structures_it-is-better-to-have-100-functions-opera_1878486.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/2fe/alan-j-perlis-60237_data-structures_it-is-better-to-have-100-functions-opera_1878486.jpg",
                "url": "https://sms4smile.com/quotes/i/2fe/alan-j-perlis-60237_data-structures_it-is-better-to-have-100-functions-opera_1878486.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.” — Alan J. 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 J. Perlis",
                    "item": "https://sms4smile.com/quotes/author/alan-j-perlis/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“It is better to have 100...",
                    "item": "https://sms4smile.com/quotes/alan-j-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than-2/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/alan-j-perlis/it-is-better-to-have-100-functions-operate-on-one-data-structure-than-2/#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
            }
        }
    ]
}
```
