---
title: "Meaning & Key Takeaway of: Smart data structures and dumb code works…"
description: "\"Smart data structures and dumb code works a lot better than the other way around.\" — Eric S. Raymond"
image: "https://sms4smile.com/quotes/i/e01/eric-s-raymond-5007_code_smart-data-structures-and-dumb-code-work_1452607.jpg"
---

#  Smart data structures and dumb code works a lot better…

![“Smart data structures and dumb code works a lot better than the other way around.” quote by Eric S. Raymond](https://sms4smile.com/quotes/i/e01/eric-s-raymond-5007_code_smart-data-structures-and-dumb-code-work_1452607.jpg)   [Download](https://sms4smile.com/quotes/i/e01/eric-s-raymond-5007_code_smart-data-structures-and-dumb-code-work_1452607.jpg) [Open image](https://sms4smile.com/quotes/i/e01/eric-s-raymond-5007_code_smart-data-structures-and-dumb-code-work_1452607.jpg)

> “Smart data structures and dumb code works a lot better than the other way around.”

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

## About This Quote

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

Effective software relies on well‑designed data structures while keeping code simple, leading to better performance and maintainability.

**In simple terms:** Good data structures + simple code = better results.

Key Takeaway

Prioritize data design over clever code.

Themes

software engineering performance simplicity

Mood

pragmatic analytical

Type

technical advice

When to use this quote

- building large systems
- optimizing legacy code
- teaching programming

Key Concepts

algorithmic efficiency design patterns

Questions to Reflect On

- How can you refactor code to use better data structures?
- When is clever code justified?

A Different Perspective

Complex problems may still need sophisticated algorithms despite simple code.

★ ★ ★ ★ ★   No ratings yet

[Code](https://sms4smile.com/quotes/about/code/) [Data](https://sms4smile.com/quotes/about/data/) [Data structures](https://sms4smile.com/quotes/about/data-structures/) [Design](https://sms4smile.com/quotes/about/design/) [Programming](https://sms4smile.com/quotes/about/programming/) [Simplicity](https://sms4smile.com/quotes/about/simplicity/) [Smart](https://sms4smile.com/quotes/about/smart/) [Structure](https://sms4smile.com/quotes/about/structure/)

## Related 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/)

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

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

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

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

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

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

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

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

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

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

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

## More by Eric S. Raymond

> [The Wesnoth devs are good but not exceptionally so, and we're weighed down by a crappy implementation language (C++). Nevertheless our productivity, in terms…](https://sms4smile.com/quotes/eric-s-raymond/the-wesnoth-devs-are-good-but-not-exceptionally-so-and-we-re-weighed/)

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

> [“We’re proving not only that we can do better software, but that joy is an asset.”](https://sms4smile.com/quotes/eric-s-raymond/we-re-proving-not-only-that-we-can-do-better-software-but-that-joy-is/)

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

> [The workstation-class machines built by Sun and others opened up new worlds for hackers.](https://sms4smile.com/quotes/eric-s-raymond/the-workstation-class-machines-built-by-sun-and-others-opened-up-new/)

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

> [It is widely grokked that cats have the hacker nature](https://sms4smile.com/quotes/eric-s-raymond/it-is-widely-grokked-that-cats-have-the-hacker-nature/)

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

> [“If (as is generally accepted) over 75% of a typical software project’s life-cycle costs will be in maintenance and debugging and extensions, then the…](https://sms4smile.com/quotes/eric-s-raymond/if-as-is-generally-accepted-over-75-of-a-typical-software-project-s/)

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

> [The combination of threads, remote-procedure-call interfaces, and heavyweight object-oriented design is especially dangerous... if you are ever invited onto a project that is supposed…](https://sms4smile.com/quotes/eric-s-raymond/the-combination-of-threads-remote-procedure-call-interfaces-and/)

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

> [Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better…](https://sms4smile.com/quotes/eric-s-raymond/lisp-is-worth-learning-for-the-profound-enlightenment-experience-you/)

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

> [You cannot motivate the best people with money. Money is just a way to keep score. The best people in any field are motivated…](https://sms4smile.com/quotes/eric-s-raymond/you-cannot-motivate-the-best-people-with-money-money-is-just-a-way-to/)

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

> [“The Linux world behaves in many respects like a free market or an ecology, a collection of selfish agents attempting to maximize utility which…](https://sms4smile.com/quotes/eric-s-raymond/the-linux-world-behaves-in-many-respects-like-a-free-market-or-an/)

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

> [“The reason this is a serious issue is that both the pool of users and the pool of talent available to be recruited into…](https://sms4smile.com/quotes/eric-s-raymond/the-reason-this-is-a-serious-issue-is-that-both-the-pool-of-users-and/)

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

> [A security system is only as secure as its secret. Beware of pseudo-secrets.](https://sms4smile.com/quotes/eric-s-raymond/a-security-system-is-only-as-secure-as-its-secret-beware-of-pseudo/)

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

> [Today I am one of the senior technical cadre that makes the Internet work, and a core Linux and open-source developer.](https://sms4smile.com/quotes/eric-s-raymond/today-i-am-one-of-the-senior-technical-cadre-that-makes-the-internet/)

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

> [“The behavior of retailers when a vendor folds is very revealing. It tells us that they know something the vendors don’t. What they know…](https://sms4smile.com/quotes/eric-s-raymond/the-behavior-of-retailers-when-a-vendor-folds-is-very-revealing-it/)

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

> [The easiest programs to use are those which demand the least new learning from the user](https://sms4smile.com/quotes/eric-s-raymond/the-easiest-programs-to-use-are-those-which-demand-the-least-new/)

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

> [“This is quite unlikely to happen to Linux,”](https://sms4smile.com/quotes/eric-s-raymond/this-is-quite-unlikely-to-happen-to-linux/)

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

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

## More Code quotes

> [At the deepest level, all living things that have ever been looked at have the same DNA code. And many of the same genes.](https://sms4smile.com/quotes/richard-dawkins/at-the-deepest-level-all-living-things-that-have-ever-been-looked-at/)

[Richard Dawkins](https://sms4smile.com/quotes/author/richard-dawkins/)

> [It is no secret that I have read 'The Da Vinci Code' several times. I genuinely believe that 'The Da Vinci Code' and 'Angels…](https://sms4smile.com/quotes/ashwin-sanghi/it-is-no-secret-that-i-have-read-the-da-vinci-code-several-times-i/)

[Ashwin Sanghi](https://sms4smile.com/quotes/author/ashwin-sanghi/)

> [Programmers are always surrounded by complexity; we cannot avoid it… If our basic tool, the language in which we design and code our programs,…](https://sms4smile.com/quotes/tony-hoare/programmers-are-always-surrounded-by-complexity-we-cannot-avoid-it-if/)

[Tony Hoare](https://sms4smile.com/quotes/author/tony-hoare/)

> [One of my most productive days was throwing away 1,000 lines of code.](https://sms4smile.com/quotes/ken-thompson/one-of-my-most-productive-days-was-throwing-away-1-000-lines-of-code/)

[Ken Thompson](https://sms4smile.com/quotes/author/ken-thompson/)

> [Writing code means always having to say you're sorry.](https://sms4smile.com/quotes/paul-ford/writing-code-means-always-having-to-say-you-re-sorry/)

[Paul Ford](https://sms4smile.com/quotes/author/paul-ford/)

> [It would be a piece of ingenuousness to accuse the man of today of his lack of moral code. The accusation would leave him…](https://sms4smile.com/quotes/jose-ortega-y-gasset/it-would-be-a-piece-of-ingenuousness-to-accuse-the-man-of-today-of/)

[Jose Ortega y Gasset](https://sms4smile.com/quotes/author/jose-ortega-y-gasset/)

> [I loved 'Chicago Code;' I watched that a lot. It was great because it really captured the city - I'm from Chicago, too.](https://sms4smile.com/quotes/jessy-schram/i-loved-chicago-code-i-watched-that-a-lot-it-was-great-because-it/)

[Jessy Schram](https://sms4smile.com/quotes/author/jessy-schram/)

> [I kind of pride myself on coming onto things that are well-oiled machines and finding a way to bring what I bring and fit…](https://sms4smile.com/quotes/rob-lowe/i-kind-of-pride-myself-on-coming-onto-things-that-are-well-oiled/)

[Rob Lowe](https://sms4smile.com/quotes/author/rob-lowe/)

> [When we're done simplifying the tax code, getting the lobbyist carve outs our of the tax code, lowering our rates and letting people have…](https://sms4smile.com/quotes/paul-ryan/when-we-re-done-simplifying-the-tax-code-getting-the-lobbyist-carve/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The tax code is 10 times the size of the Bible with none of the good news.](https://sms4smile.com/quotes/paul-ryan/the-tax-code-is-10-times-the-size-of-the-bible-with-none-of-the-good/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The Cheney team had, for example, technological supremacy over the National Security Council staff. That is to say, they could read their e-mails. I…](https://sms4smile.com/quotes/lawrence-wilkerson/the-cheney-team-had-for-example-technological-supremacy-over-the/)

[Lawrence Wilkerson](https://sms4smile.com/quotes/author/lawrence-wilkerson/)

> [ \[T\]he tax code has been piling up, year after year, a symbol of everything gone wrong in America, of arrogant rulers and lost freedom,… ](https://sms4smile.com/quotes/dick-armey/t-he-tax-code-has-been-piling-up-year-after-year-a-symbol-of/)

[Dick Armey](https://sms4smile.com/quotes/author/dick-armey/)

> [In open source, you really have to be near the watershed to have an impact on the source code. Customers want to be near…](https://sms4smile.com/quotes/peter-fenton/in-open-source-you-really-have-to-be-near-the-watershed-to-have-an/)

[Peter Fenton](https://sms4smile.com/quotes/author/peter-fenton/)

> [We can use our art to become political, to become something you want to talk about. We make clothes, but we have the chance…](https://sms4smile.com/quotes/olivier-rousteing/we-can-use-our-art-to-become-political-to-become-something-you-want/)

[Olivier Rousteing](https://sms4smile.com/quotes/author/olivier-rousteing/)

> [Your zip code or your income level should not dictate your access to healthy drinking water.](https://sms4smile.com/quotes/alex-padilla/your-zip-code-or-your-income-level-should-not-dictate-your-access-to/)

[Alex Padilla](https://sms4smile.com/quotes/author/alex-padilla/)

[Browse all 1,662 Code quotes ](https://sms4smile.com/quotes/about/code/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Smart data structures and dumb code works a lot better than the other way around.",
            "creator": {
                "@type": "Person",
                "name": "Eric S. Raymond"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/eric-s-raymond/smart-data-structures-and-dumb-code-works-a-lot-better-than-the-other/",
            "about": {
                "@type": "Thing",
                "name": "Code"
            },
            "@id": "https://sms4smile.com/quotes/eric-s-raymond/smart-data-structures-and-dumb-code-works-a-lot-better-than-the-other/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/e01/eric-s-raymond-5007_code_smart-data-structures-and-dumb-code-work_1452607.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/e01/eric-s-raymond-5007_code_smart-data-structures-and-dumb-code-work_1452607.jpg",
                "url": "https://sms4smile.com/quotes/i/e01/eric-s-raymond-5007_code_smart-data-structures-and-dumb-code-work_1452607.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Smart data structures and dumb code works a lot better than the other way around.” — Eric S. Raymond",
                "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": "Eric S. Raymond",
                    "item": "https://sms4smile.com/quotes/author/eric-s-raymond/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Smart data structures and dumb code...",
                    "item": "https://sms4smile.com/quotes/eric-s-raymond/smart-data-structures-and-dumb-code-works-a-lot-better-than-the-other/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/eric-s-raymond/smart-data-structures-and-dumb-code-works-a-lot-better-than-the-other/#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
            }
        }
    ]
}
```
