---
title: "Meaning & Key Takeaway of: Get the weirdnesses into the data where…"
description: "\"Get the weirdnesses into the data where you can manipulate them easily, and the regularity into the code because regular code is a lot easier to work w..."
image: "https://sms4smile.com/quotes/i/eee/brian-kernighan-27197_code_get-the-weirdnesses-into-the-data-where_136499.png"
---

#  Get the weirdnesses into the data where you can manipulate…

![“Get the weirdnesses into the data where you can manipulate them easily, and the regularity into the code because regular code is a lot easier to work with” quote by Brian Kernighan](https://sms4smile.com/quotes/i/eee/brian-kernighan-27197_code_get-the-weirdnesses-into-the-data-where_136499.png)   [Download](https://sms4smile.com/quotes/i/eee/brian-kernighan-27197_code_get-the-weirdnesses-into-the-data-where_136499.png) [Open image](https://sms4smile.com/quotes/i/eee/brian-kernighan-27197_code_get-the-weirdnesses-into-the-data-where_136499.png)

> “Get the weirdnesses into the data where you can manipulate them easily, and the regularity into the code because regular code is a lot easier to work with”

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

## About This Quote

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

Separate irregular data handling from core logic to simplify programming and improve maintainability.

**In simple terms:** Keep data messy, code clean.

Key Takeaway

Isolate complexity in data, not code.

Themes

software design modularity maintainability

Mood

analytical practical

Type

instructional technical

When to use this quote

- database design
- API development
- data pipelines

Key Concepts

separation of concerns data abstraction

Questions to Reflect On

- How can you identify which parts belong in data versus code?
- What tools help keep code simple?

A Different Perspective

If data becomes too irregular, code may still become complex.

★ ★ ★ ★ ★   No ratings yet

[Code](https://sms4smile.com/quotes/about/code/) [Data](https://sms4smile.com/quotes/about/data/) [Programming](https://sms4smile.com/quotes/about/programming/) [Technology](https://sms4smile.com/quotes/about/technology/) [Weirdness](https://sms4smile.com/quotes/about/weirdness/)

## Related quotes

> [Science is not a system of certain, or -established, statements; nor is it a system which steadily advances towards a state of finality... And…](https://sms4smile.com/quotes/karl-popper/science-is-not-a-system-of-certain-or-established-statements-nor-is/)

[Karl Popper](https://sms4smile.com/quotes/author/karl-popper/)

> [What people respond to is intimacy and regularity.](https://sms4smile.com/quotes/pete-holmes/what-people-respond-to-is-intimacy-and-regularity/)

[Pete Holmes](https://sms4smile.com/quotes/author/pete-holmes/)

> [Mine was not an Enlightened mind, I now was aware: it was a Gothic mind, medieval in its temper and structure. I did not…](https://sms4smile.com/quotes/russell-kirk/mine-was-not-an-enlightened-mind-i-now-was-aware-it-was-a-gothic-mind/)

[Russell Kirk](https://sms4smile.com/quotes/author/russell-kirk/)

> [I'm a big believer in regularity. My father taught me that. Get up early, get your work done, and that's, what, your highest level…](https://sms4smile.com/quotes/mike-mccarthy/i-m-a-big-believer-in-regularity-my-father-taught-me-that-get-up/)

[Mike McCarthy](https://sms4smile.com/quotes/author/mike-mccarthy/)

> [For a lifetime I had bathed with becoming regularity, and thought the world would come to an end unless I changed my socks every…](https://sms4smile.com/quotes/ernie-pyle/for-a-lifetime-i-had-bathed-with-becoming-regularity-and-thought-the/)

[Ernie Pyle](https://sms4smile.com/quotes/author/ernie-pyle/)

> [To be sure, the doctrine of a personal God interfering with natural events could never be refuted, in the real sense, by science, for…](https://sms4smile.com/quotes/albert-einstein/to-be-sure-the-doctrine-of-a-personal-god-interfering-with-natural/)

[Albert Einstein](https://sms4smile.com/quotes/author/albert-einstein/)

> [And there is a lot of idiosyncrasy. But there are also regularities and phenomena. And what the data is going to be able to…](https://sms4smile.com/quotes/esther-duflo/and-there-is-a-lot-of-idiosyncrasy-but-there-are-also-regularities/)

[Esther Duflo](https://sms4smile.com/quotes/author/esther-duflo/)

> [The methods of the natural sciences cannot be applied to human behavior because this behaviorlacks the peculiarity that characterizes events in the field of…](https://sms4smile.com/quotes/ludwig-von-mises/the-methods-of-the-natural-sciences-cannot-be-applied-to-human/)

[Ludwig von Mises](https://sms4smile.com/quotes/author/ludwig-von-mises/)

> [I'm a moderate. I hang out in the middle. I vote against my party with some regularity and try to compromise. It doesn't appear…](https://sms4smile.com/quotes/claire-mccaskill/i-m-a-moderate-i-hang-out-in-the-middle-i-vote-against-my-party-with/)

[Claire McCaskill](https://sms4smile.com/quotes/author/claire-mccaskill/)

> [ My colleagues in elementary particle theory in many lands \[and I\] are driven by the usual insatiable curiosity of the scientist, and our work… ](https://sms4smile.com/quotes/murray-gell-mann/my-colleagues-in-elementary-particle-theory-in-many-lands-and-i-are/)

[Murray Gell-Mann](https://sms4smile.com/quotes/author/murray-gell-mann/)

> [Generality is, indeed, an indispensable ingredient of reality; for mere individual existence or actuality without any regularity whatever is a nullity. Chaos is pure…](https://sms4smile.com/quotes/charles-sanders-peirce/generality-is-indeed-an-indispensable-ingredient-of-reality-for-mere/)

[Charles Sanders Peirce](https://sms4smile.com/quotes/author/charles-sanders-peirce/)

> [To a large extent, the American church has become merged with the world. It has adopted so many of the world's ideals and standards…](https://sms4smile.com/quotes/billy-graham/to-a-large-extent-the-american-church-has-become-merged-with-the/)

[Billy Graham](https://sms4smile.com/quotes/author/billy-graham/)

> [Nature consists of facts and of regularities, and is in itself neither moral nor immoral. It is we who impose our standards upon nature,…](https://sms4smile.com/quotes/anonymous/nature-consists-of-facts-and-of-regularities-and-is-in-itself-neither/)

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

> [More and more I like to take a train. I understand why the French prefer it to automobiling it is so much more sociable,…](https://sms4smile.com/quotes/gertrude-stein/more-and-more-i-like-to-take-a-train-i-understand-why-the-french/)

[Gertrude Stein](https://sms4smile.com/quotes/author/gertrude-stein/)

> [ Science gains from it \[the pendulum\] more than one can expect. With its huge dimensions, the apparatus presents qualities that one would try in… ](https://sms4smile.com/quotes/anonymous/science-gains-from-it-the-pendulum-more-than-one-can-expect-with-its/)

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

## More by Brian Kernighan

> [Trying to outsmart a compiler defeats much of the purpose of using one.](https://sms4smile.com/quotes/brian-kernighan/trying-to-outsmart-a-compiler-defeats-much-of-the-purpose-of-using-one/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [An effective way to test code is to exercise it at its natural boundaries](https://sms4smile.com/quotes/brian-kernighan/an-effective-way-to-test-code-is-to-exercise-it-at-its-natural/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [As we said in the preface to the first edition, C "wears well as one's experience with it grows." With a decade more experience,…](https://sms4smile.com/quotes/brian-kernighan/as-we-said-in-the-preface-to-the-first-edition-c-wears-well-as-one-s/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Trivia rarely affect efficiency. Are all the machinations worth it, when their primary effect is to make the code less readable?](https://sms4smile.com/quotes/brian-kernighan/trivia-rarely-affect-efficiency-are-all-the-machinations-worth-it/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [If you had done something twice, you are likely to do it again.](https://sms4smile.com/quotes/brian-kernighan/if-you-had-done-something-twice-you-are-likely-to-do-it-again/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [C is a razor-sharp tool, with which one can create an elegant and efficient program or a bloody mess.](https://sms4smile.com/quotes/brian-kernighan/c-is-a-razor-sharp-tool-with-which-one-can-create-an-elegant-and/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Believe the terrain, not the map](https://sms4smile.com/quotes/brian-kernighan/believe-the-terrain-not-the-map/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Mechanical rules are never a substitute for clarity of thought.](https://sms4smile.com/quotes/brian-kernighan/mechanical-rules-are-never-a-substitute-for-clarity-of-thought/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Don't document bad code - rewrite it.](https://sms4smile.com/quotes/brian-kernighan/don-t-document-bad-code-rewrite-it/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you…](https://sms4smile.com/quotes/brian-kernighan/debugging-is-twice-as-hard-as-writing-the-code-in-the-first-place/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [“Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can…](https://sms4smile.com/quotes/brian-kernighan/everyone-knows-that-debugging-is-twice-as-hard-as-writing-a-program/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [ Another effective \[debugging\] technique is to explain your code to someone else. This will often cause you to explain the bug to yourself. Sometimes… ](https://sms4smile.com/quotes/brian-kernighan/another-effective-debugging-technique-is-to-explain-your-code-to/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [... it is a fundamental principle of testing that you must know in advance the answer each test case is supposed to produce. If…](https://sms4smile.com/quotes/brian-kernighan/it-is-a-fundamental-principle-of-testing-that-you-must-know-in/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Do what you think is interesting, do something that you think is fun and worthwhile, because otherwise you won't do it well anyway.](https://sms4smile.com/quotes/brian-kernighan/do-what-you-think-is-interesting-do-something-that-you-think-is-fun/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Controlling complexity is the essence of computer programming.](https://sms4smile.com/quotes/brian-kernighan/controlling-complexity-is-the-essence-of-computer-programming/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

[Explore all 21 Brian Kernighan quotes ](https://sms4smile.com/quotes/author/brian-kernighan/)

## 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": "Get the weirdnesses into the data where you can manipulate them easily, and the regularity into the code because regular code is a lot easier to work with",
            "creator": {
                "@type": "Person",
                "name": "Brian Kernighan"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/brian-kernighan/get-the-weirdnesses-into-the-data-where-you-can-manipulate-them/",
            "about": {
                "@type": "Thing",
                "name": "Code"
            },
            "@id": "https://sms4smile.com/quotes/brian-kernighan/get-the-weirdnesses-into-the-data-where-you-can-manipulate-them/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/eee/brian-kernighan-27197_code_get-the-weirdnesses-into-the-data-where_136499.png",
                "contentUrl": "https://sms4smile.com/quotes/i/eee/brian-kernighan-27197_code_get-the-weirdnesses-into-the-data-where_136499.png",
                "url": "https://sms4smile.com/quotes/i/eee/brian-kernighan-27197_code_get-the-weirdnesses-into-the-data-where_136499.png",
                "width": 1080,
                "height": 1080,
                "caption": "“Get the weirdnesses into the data where you can manipulate them easily, and the regularity into the code…” — Brian Kernighan",
                "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": "Brian Kernighan",
                    "item": "https://sms4smile.com/quotes/author/brian-kernighan/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Get the weirdnesses into the data...",
                    "item": "https://sms4smile.com/quotes/brian-kernighan/get-the-weirdnesses-into-the-data-where-you-can-manipulate-them/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/brian-kernighan/get-the-weirdnesses-into-the-data-where-you-can-manipulate-them/#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
            }
        }
    ]
}
```
