---
title: "Meaning & Key Takeaway of: Object-oriented programming offers a…"
description: "\"“Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs as a series of patches.”\" — Paul Graham"
image: "https://sms4smile.com/quotes/i/8ba/paul-graham-7010_programming_object-oriented-programming-offers-a-sus_2530450.jpg"
---

#  Object-oriented programming offers a sustainable way to…

![“Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs as a series of patches.” quote by Paul Graham](https://sms4smile.com/quotes/i/8ba/paul-graham-7010_programming_object-oriented-programming-offers-a-sus_2530450.jpg)   [Download](https://sms4smile.com/quotes/i/8ba/paul-graham-7010_programming_object-oriented-programming-offers-a-sus_2530450.jpg) [Open image](https://sms4smile.com/quotes/i/8ba/paul-graham-7010_programming_object-oriented-programming-offers-a-sus_2530450.jpg)

> ““Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs as a series of patches.””

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

## About This Quote

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

Object-oriented programming structures code to avoid tangled, unmaintainable spaghetti, enabling incremental improvements.

**In simple terms:** OOP helps keep code organized and extensible.

Key Takeaway

Use OOP to build maintainable systems.

Themes

software design maintainability incremental development

Mood

analytical pragmatic

Type

technical educational

When to use this quote

- building large applications
- refactoring legacy code
- team development
- adding features

Key Concepts

modularity abstraction patching

Questions to Reflect On

- How does OOP affect project scalability?
- When might functional programming be preferable?

A Different Perspective

OOP can add overhead and may not suit all problem domains.

★ ★ ★ ★ ★   No ratings yet

[Object Oriented](https://sms4smile.com/quotes/about/object-oriented-618338/) [Oriented Programming](https://sms4smile.com/quotes/about/oriented-programming-618340/) [Programming](https://sms4smile.com/quotes/about/programming/) [Spaghetti Code](https://sms4smile.com/quotes/about/spaghetti-code-618339/) [Technology](https://sms4smile.com/quotes/about/technology/) [Write Spaghetti](https://sms4smile.com/quotes/about/write-spaghetti-618341/)

## Related quotes

> [“I don’t predict the demise of object-oriented programming, by the way. Object-oriented programming offers a sustainable way to write spaghetti code.”](https://sms4smile.com/quotes/paul-graham/i-don-t-predict-the-demise-of-object-oriented-programming-by-the-way/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [Object-oriented programming as it emerged in Simula 67 allows software structure to be based on real-world structures, and gives programmers a powerful way to…](https://sms4smile.com/quotes/david-gelernter/object-oriented-programming-as-it-emerged-in-simula-67-allows/)

[David Gelernter](https://sms4smile.com/quotes/author/david-gelernter/)

> [“PHP as an object oriented programming language should be judged by how well it does the job, not on a preconceived notion of what…](https://sms4smile.com/quotes/peter-lavin/php-as-an-object-oriented-programming-language-should-be-judged-by/)

[Peter Lavin](https://sms4smile.com/quotes/author/peter-lavin/)

> [“the move toward object-oriented programming, where applications could be fashioned out of small, predefined blocks of code, was a lot like building with LEGO.”](https://sms4smile.com/quotes/david-robertson/the-move-toward-object-oriented-programming-where-applications-could/)

[David Robertson](https://sms4smile.com/quotes/author/david-robertson/)

> [The best way to do research is to make a radical assumption and then assume it's true. For me, I use the assumption that…](https://sms4smile.com/quotes/bill-joy/the-best-way-to-do-research-is-to-make-a-radical-assumption-and-then/)

[Bill Joy](https://sms4smile.com/quotes/author/bill-joy/)

> [I used to be enamored of object-oriented programming. I'm now finding myself leaning toward believing that it is a plot designed to destroy joy.](https://sms4smile.com/quotes/eric-allman/i-used-to-be-enamored-of-object-oriented-programming-i-m-now-finding/)

[Eric Allman](https://sms4smile.com/quotes/author/eric-allman/)

> [Another trick in software is to avoid rewriting the software by using a piece that's already been written, so called component approach which the…](https://sms4smile.com/quotes/bill-gates/another-trick-in-software-is-to-avoid-rewriting-the-software-by-using/)

[Bill Gates](https://sms4smile.com/quotes/author/bill-gates/)

> [Object-oriented programming is an exceptionally bad idea which could only have originated in California.](https://sms4smile.com/quotes/edsger-dijkstra/object-oriented-programming-is-an-exceptionally-bad-idea-which-could/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [“Spaghetti code Multiple pages of nested if clauses and for loops with a lot of copy-pasted procedural code and no proper segmentation are known…](https://sms4smile.com/quotes/kenneth-reitz/spaghetti-code-multiple-pages-of-nested-if-clauses-and-for-loops-with/)

[Kenneth Reitz](https://sms4smile.com/quotes/author/kenneth-reitz/)

> [ Object-oriented programming aficionados think that everything is an object… this \[isn't\] so. There are things that are objects. Things that have state and change… ](https://sms4smile.com/quotes/alexander-stepanov/object-oriented-programming-aficionados-think-that-everything-is-an/)

[Alexander Stepanov](https://sms4smile.com/quotes/author/alexander-stepanov/)

> [Certainly not every good program is object-oriented, and not every object-oriented program is good](https://sms4smile.com/quotes/bjarne-stroustrup/certainly-not-every-good-program-is-object-oriented-and-not-every/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [The problem with object-oriented languages is they've got all this implicit environment that they carry around with them. You wanted a banana but what…](https://sms4smile.com/quotes/joe-armstrong/the-problem-with-object-oriented-languages-is-they-ve-got-all-this/)

[Joe Armstrong](https://sms4smile.com/quotes/author/joe-armstrong/)

> [Possibly the only real object-oriented system in working order. (About Internet)](https://sms4smile.com/quotes/alan-kay/possibly-the-only-real-object-oriented-system-in-working-order-about/)

[Alan Kay](https://sms4smile.com/quotes/author/alan-kay/)

> [Design Patterns - Elements of Reusable Object-Oriented Software](https://sms4smile.com/quotes/erich-gamma/design-patterns-elements-of-reusable-object-oriented-software/)

[Erich Gamma](https://sms4smile.com/quotes/author/erich-gamma/)

> [I invented the term 'Object-Oriented', and I can tell you I did not have C++ in mind.](https://sms4smile.com/quotes/alan-kay/i-invented-the-term-object-oriented-and-i-can-tell-you-i-did-not-have/)

[Alan Kay](https://sms4smile.com/quotes/author/alan-kay/)

## More by Paul Graham

> [“I'm not saying there's no such thing as genius. But if you're trying to choose between two theories and one gives you an excuse…](https://sms4smile.com/quotes/paul-graham/i-m-not-saying-there-s-no-such-thing-as-genius-but-if-you-re-trying/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“This is a good plan for life in general. If you have two choices, choose the harder. If you're trying to decide whether to…](https://sms4smile.com/quotes/paul-graham/this-is-a-good-plan-for-life-in-general-if-you-have-two-choices/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“When I was a kid I was constantly being told to look at things from someone else’s point of view. What this always meant…](https://sms4smile.com/quotes/paul-graham/when-i-was-a-kid-i-was-constantly-being-told-to-look-at-things-from/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [You know your business model is broken when you're suing your customers.](https://sms4smile.com/quotes/paul-graham/you-know-your-business-model-is-broken-when-you-re-suing-your/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“Hackers are unruly. That is the essence of hacking. And it is also the essence of Americanness. It is no accident that Silicon Valley…](https://sms4smile.com/quotes/paul-graham/hackers-are-unruly-that-is-the-essence-of-hacking-and-it-is-also-the/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“We often like to think of World War II as a triumph of freedom over totalitarianism. We conveniently forget that the Soviet Union was…](https://sms4smile.com/quotes/paul-graham/we-often-like-to-think-of-world-war-ii-as-a-triumph-of-freedom-over/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [It's hard to say exactly what it is about face-to-face contact that makes deals happen, but whatever it is, it hasn't yet been duplicated…](https://sms4smile.com/quotes/paul-graham/it-s-hard-to-say-exactly-what-it-is-about-face-to-face-contact-that/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [One startup I dream of funding is the one that kills the record companies.](https://sms4smile.com/quotes/paul-graham/one-startup-i-dream-of-funding-is-the-one-that-kills-the-record/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“It’s easier to get people to fight for an idea. And whichever side wins, their ideas will also be considered to have triumphed, as…](https://sms4smile.com/quotes/paul-graham/it-s-easier-to-get-people-to-fight-for-an-idea-and-whichever-side/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“Could civil liberties really be a cause, rather than just an effect? I think so. I think a society in which people can do…](https://sms4smile.com/quotes/paul-graham/could-civil-liberties-really-be-a-cause-rather-than-just-an-effect-i/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“A great programmer, on a roll, could create a million dollars worth of wealth in a couple weeks. A mediocre programmer over the same…](https://sms4smile.com/quotes/paul-graham/a-great-programmer-on-a-roll-could-create-a-million-dollars-worth-of/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [We don't have to go that far to sell our beer because our immediate accounts sell so much. Places that sold 10 cases before,…](https://sms4smile.com/quotes/paul-graham/we-don-t-have-to-go-that-far-to-sell-our-beer-because-our-immediate/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [I get a lot of criticism for telling founders to focus first on making something great, instead of worrying about how to make money.…](https://sms4smile.com/quotes/paul-graham/i-get-a-lot-of-criticism-for-telling-founders-to-focus-first-on/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“So the optimal plan, if you can manage it, is to have a few trusted friends you can speak openly to. This is not…](https://sms4smile.com/quotes/paul-graham/so-the-optimal-plan-if-you-can-manage-it-is-to-have-a-few-trusted/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

> [“Public school teachers are in much the same position as prison wardens.”](https://sms4smile.com/quotes/paul-graham/public-school-teachers-are-in-much-the-same-position-as-prison-wardens/)

[Paul Graham](https://sms4smile.com/quotes/author/paul-graham/)

[Explore all 94 Paul Graham quotes ](https://sms4smile.com/quotes/author/paul-graham/)

## More Programming quotes

> [Of everything I have done, 'The Archers' always gets the most excitement; there's a sort of uncontrollable joy from fans of the program.](https://sms4smile.com/quotes/felicity-jones/of-everything-i-have-done-the-archers-always-gets-the-most-excitement/)

[Felicity Jones](https://sms4smile.com/quotes/author/felicity-jones/)

> [When we shipped 'Borderlands 2,' we didn't ship it with a plan of how the level cap was going to increase. We didn't have…](https://sms4smile.com/quotes/randy-pitchford/when-we-shipped-borderlands-2-we-didn-t-ship-it-with-a-plan-of-how/)

[Randy Pitchford](https://sms4smile.com/quotes/author/randy-pitchford/)

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

> [“Check the program before you two start undressing and...well, doing whatever freaky shit you talked Harley into.” I”](https://sms4smile.com/quotes/james-cox/check-the-program-before-you-two-start-undressing-and-well-doing/)

[James Cox](https://sms4smile.com/quotes/author/james-cox/)

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

> [Limit use of shareware and public domain software to systems without fixed disks. If you do use them on fixed disks, allocate separate subdirectories...…](https://sms4smile.com/quotes/john-mcafee/limit-use-of-shareware-and-public-domain-software-to-systems-without/)

[John McAfee](https://sms4smile.com/quotes/author/john-mcafee/)

> [I'm publicist, patron of nine charities, creative director, food consultant, recipe developer - and mum.](https://sms4smile.com/quotes/jack-monroe/i-m-publicist-patron-of-nine-charities-creative-director-food/)

[Jack Monroe](https://sms4smile.com/quotes/author/jack-monroe/)

> [With VR, we have this same vision, which is create this ultimate platform for sharing your imagination. Our huge community of 300,000 developers creates…](https://sms4smile.com/quotes/david-baszucki/with-vr-we-have-this-same-vision-which-is-create-this-ultimate/)

[David Baszucki](https://sms4smile.com/quotes/author/david-baszucki/)

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

> [A lot of the kids gave a lot of positive feedback about if I ever became a coach, they would love to play in…](https://sms4smile.com/quotes/penny-hardaway/a-lot-of-the-kids-gave-a-lot-of-positive-feedback-about-if-i-ever/)

[Penny Hardaway](https://sms4smile.com/quotes/author/penny-hardaway/)

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

> [“By rendering the model in ASN.1, the NCBI created a system that combined objects (DNA sequences, protein sequences, references, sequence features) from a variety…](https://sms4smile.com/quotes/anonymous/by-rendering-the-model-in-asn-1-the-ncbi-created-a-system-that/)

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

[Browse all 6,477 Programming quotes ](https://sms4smile.com/quotes/about/programming/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs as a series of patches.”",
            "creator": {
                "@type": "Person",
                "name": "Paul Graham"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/paul-graham/object-oriented-programming-offers-a-sustainable-way-to-write/",
            "about": {
                "@type": "Thing",
                "name": "Programming"
            },
            "@id": "https://sms4smile.com/quotes/paul-graham/object-oriented-programming-offers-a-sustainable-way-to-write/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/8ba/paul-graham-7010_programming_object-oriented-programming-offers-a-sus_2530450.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/8ba/paul-graham-7010_programming_object-oriented-programming-offers-a-sus_2530450.jpg",
                "url": "https://sms4smile.com/quotes/i/8ba/paul-graham-7010_programming_object-oriented-programming-offers-a-sus_2530450.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs…” — Paul Graham",
                "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": "Paul Graham",
                    "item": "https://sms4smile.com/quotes/author/paul-graham/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Object-oriented programming offers a sustainable way...",
                    "item": "https://sms4smile.com/quotes/paul-graham/object-oriented-programming-offers-a-sustainable-way-to-write/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/paul-graham/object-oriented-programming-offers-a-sustainable-way-to-write/#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
            }
        }
    ]
}
```
