---
title: "Meaning & Key Takeaway of: The general rule for refactoring into a…"
description: "\"“The general rule for refactoring into a new inheritance hierarchy is to arrange code so that you can promote abstractions rather than demote concretio..."
image: "https://sms4smile.com/quotes/i/ee6/anonymous-1_abstractions_the-general-rule-for-refactoring-into-a_2829784.jpg"
---

#  The general rule for refactoring into a new inheritance…

![“The general rule for refactoring into a new inheritance hierarchy is to arrange code so that you can promote abstractions rather than demote concretions.” quote by Anonymous](https://sms4smile.com/quotes/i/ee6/anonymous-1_abstractions_the-general-rule-for-refactoring-into-a_2829784.jpg)   [Download](https://sms4smile.com/quotes/i/ee6/anonymous-1_abstractions_the-general-rule-for-refactoring-into-a_2829784.jpg) [Open image](https://sms4smile.com/quotes/i/ee6/anonymous-1_abstractions_the-general-rule-for-refactoring-into-a_2829784.jpg)

> ““The general rule for refactoring into a new inheritance hierarchy is to arrange code so that you can promote abstractions rather than demote concretions.””

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

## About This Quote

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

Refactoring should promote higher‑level abstractions rather than lower‑level concrete details, preserving flexibility and reuse.

**In simple terms:** Make code more abstract, not more concrete.

Key Takeaway

Favor abstraction when redesigning inheritance.

Themes

software design refactoring inheritance hierarchy code quality abstraction

Mood

technical practical

Type

software design

When to use this quote

- codebase overhaul
- design reviews
- team training
- legacy system updates

Key Concepts

object‑oriented principles software architecture maintainability

Questions to Reflect On

- When does abstraction become over‑engineering?
- How to keep abstractions clear?

A Different Perspective

Complex hierarchies may become harder to understand.

★ ★ ★ ★ ★   No ratings yet

[Abstractions](https://sms4smile.com/quotes/about/abstractions/) [Programming](https://sms4smile.com/quotes/about/programming/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [“In our own time, algebra has become the most rarefied and demanding of all mental disciplines, whose objects are abstractions of abstractions of abstractions,…](https://sms4smile.com/quotes/anonymous/in-our-own-time-algebra-has-become-the-most-rarefied-and-demanding-of/)

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

> [At the same time, new concepts and abstractions flow into the picture, taking up the task of describing the universe without reference to such…](https://sms4smile.com/quotes/anonymous/at-the-same-time-new-concepts-and-abstractions-flow-into-the-picture/)

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

> [When novels deal in abstractions, they generally go off the rails.](https://sms4smile.com/quotes/philipp-meyer/when-novels-deal-in-abstractions-they-generally-go-off-the-rails/)

[Philipp Meyer](https://sms4smile.com/quotes/author/philipp-meyer/)

> [Even at its most perceptive, sociology deals in abstractions.](https://sms4smile.com/quotes/richard-russo/even-at-its-most-perceptive-sociology-deals-in-abstractions/)

[Richard Russo](https://sms4smile.com/quotes/author/richard-russo/)

> [I think we are living a life without specificity, and then our lives become abstractions.](https://sms4smile.com/quotes/terry-tempest-williams/i-think-we-are-living-a-life-without-specificity-and-then-our-lives/)

[Terry Tempest Williams](https://sms4smile.com/quotes/author/terry-tempest-williams/)

> [I don't see those paintings as abstractions, especially because they are emblems of the inkblot. They aren't smashed together; they are constructed shape-by-shape, layer-by-layer,…](https://sms4smile.com/quotes/kerry-james-marshall/i-don-t-see-those-paintings-as-abstractions-especially-because-they/)

[Kerry James Marshall](https://sms4smile.com/quotes/author/kerry-james-marshall/)

> [For the Warrior of the Light, there are no abstractions.](https://sms4smile.com/quotes/paulo-coelho/for-the-warrior-of-the-light-there-are-no-abstractions/)

[Paulo Coelho](https://sms4smile.com/quotes/author/paulo-coelho/)

> [To make someone an icon is to make him an abstraction, and abstractions are incapable of vital communication with living people.](https://sms4smile.com/quotes/david-foster-wallace/to-make-someone-an-icon-is-to-make-him-an-abstraction-and/)

[David Foster Wallace](https://sms4smile.com/quotes/author/david-foster-wallace/)

> [Policymakers think that if they get the abstractions right, that will drive behavior in the desired direction. But the world happens in real time.](https://sms4smile.com/quotes/sendhil-mullainathan/policymakers-think-that-if-they-get-the-abstractions-right-that-will/)

[Sendhil Mullainathan](https://sms4smile.com/quotes/author/sendhil-mullainathan/)

> [In 'Self Comes to Mind' I pay a lot of attention to simple creatures without brains or minds, because those 'cartooned abstractions of who…](https://sms4smile.com/quotes/antonio-damasio/in-self-comes-to-mind-i-pay-a-lot-of-attention-to-simple-creatures/)

[Antonio Damasio](https://sms4smile.com/quotes/author/antonio-damasio/)

> [It is easier to compare concrete things in a fictional story with concrete things in real life than it is to compare abstractions with…](https://sms4smile.com/quotes/peter-kreeft/it-is-easier-to-compare-concrete-things-in-a-fictional-story-with/)

[Peter Kreeft](https://sms4smile.com/quotes/author/peter-kreeft/)

> [You can deny, if you like, nearly all abstractions: justice, beauty, truth, goodness, mind, God. You can deny seriousness, but not play.](https://sms4smile.com/quotes/johan-huizinga/you-can-deny-if-you-like-nearly-all-abstractions-justice-beauty-truth/)

[Johan Huizinga](https://sms4smile.com/quotes/author/johan-huizinga/)

> [Abstractions about right and wrong, whether they are as old as Thou Shalt Not Kill or as modern as Do Your Own Thing, often…](https://sms4smile.com/quotes/ursula-k-le-guin/abstractions-about-right-and-wrong-whether-they-are-as-old-as-thou/)

[Ursula K. Le Guin](https://sms4smile.com/quotes/author/ursula-k-le-guin/)

> [“To think is to forget differences, generalize, make abstractions.”](https://sms4smile.com/quotes/angela-harris/to-think-is-to-forget-differences-generalize-make-abstractions/)

Angela Harris

> [My father painted, well into his 80s, what he called hard edge abstractions. It's really cool.](https://sms4smile.com/quotes/lewis-black/my-father-painted-well-into-his-80s-what-he-called-hard-edge/)

[Lewis Black](https://sms4smile.com/quotes/author/lewis-black/)

## More by Anonymous

> [And a tear rolled down her cheek, as she said goodbye; because she's walking away, and she's never looking back](https://sms4smile.com/quotes/anonymous/and-a-tear-rolled-down-her-cheek-as-she-said-goodbye-because-she-s/)

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

> [Life is full of change. That's how we learn and grow.](https://sms4smile.com/quotes/anonymous/life-is-full-of-change-that-s-how-we-learn-and-grow/)

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

> [You'll seldom experience regret for anything that you've done. It is what you haven't done that will torment you. The message, therefore, is clear.…](https://sms4smile.com/quotes/anonymous/you-ll-seldom-experience-regret-for-anything-that-you-ve-done-it-is/)

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

> [Scrabble - The game is available in Braille. That’s a nice fact. This makes me feel better about humanity for some reason. I can’t…](https://sms4smile.com/quotes/anonymous/scrabble-the-game-is-available-in-braille-that-s-a-nice-fact-this/)

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

> [Everyone needs someone to love, and I choose you.](https://sms4smile.com/quotes/anonymous/everyone-needs-someone-to-love-and-i-choose-you/)

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

> [“THIS tale of my sore-troubled life I write,    To thank the God of nature, who conveyed    My soul to me, and with such care…](https://sms4smile.com/quotes/anonymous/this-tale-of-my-sore-troubled-life-i-write-to-thank-the-god-of-nature/)

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

> [Put on my J's and dance the whole night away Im naughty by nature like Im hip-hop hooray With my hands in the sky,…](https://sms4smile.com/quotes/anonymous/put-on-my-j-s-and-dance-the-whole-night-away-im-naughty-by-nature/)

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

> [Me.. I have been through a lot, but I still manage to have a smile on my face. Im not worried about the past…](https://sms4smile.com/quotes/anonymous/me-i-have-been-through-a-lot-but-i-still-manage-to-have-a-smile-on-my/)

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

> [Distance is a test of love. many will fail for those who can't withstand it, but for those who can, theres only one answer…](https://sms4smile.com/quotes/anonymous/distance-is-a-test-of-love-many-will-fail-for-those-who-can-t/)

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

> [Im sorry I ever tried...](https://sms4smile.com/quotes/anonymous/im-sorry-i-ever-tried/)

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

> [Being betrayed by the one you love is the worst feeling in the world...](https://sms4smile.com/quotes/anonymous/being-betrayed-by-the-one-you-love-is-the-worst-feeling-in-the-world/)

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

> [Let children support their parents or be imprisoned.](https://sms4smile.com/quotes/anonymous/let-children-support-their-parents-or-be-imprisoned/)

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

> [The only person I've ever purposely caused pain here is myself...By simply sharing, caring too much.](https://sms4smile.com/quotes/anonymous/the-only-person-i-ve-ever-purposely-caused-pain-here-is-myself-by/)

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

> [“Start a business, not a startup”](https://sms4smile.com/quotes/anonymous/start-a-business-not-a-startup/)

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

> [The truth is, of course, that the curtness of the Ten Commandments is an evidence, not of the gloom and narrowness of a religion,…](https://sms4smile.com/quotes/anonymous/the-truth-is-of-course-that-the-curtness-of-the-ten-commandments-is/)

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

[Explore all 162,899 Anonymous quotes ](https://sms4smile.com/quotes/author/anonymous/)

## More Abstractions quotes

> [“In our own time, algebra has become the most rarefied and demanding of all mental disciplines, whose objects are abstractions of abstractions of abstractions,…](https://sms4smile.com/quotes/anonymous/in-our-own-time-algebra-has-become-the-most-rarefied-and-demanding-of/)

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

> [In 'Self Comes to Mind' I pay a lot of attention to simple creatures without brains or minds, because those 'cartooned abstractions of who…](https://sms4smile.com/quotes/antonio-damasio/in-self-comes-to-mind-i-pay-a-lot-of-attention-to-simple-creatures/)

[Antonio Damasio](https://sms4smile.com/quotes/author/antonio-damasio/)

> [When novels deal in abstractions, they generally go off the rails.](https://sms4smile.com/quotes/philipp-meyer/when-novels-deal-in-abstractions-they-generally-go-off-the-rails/)

[Philipp Meyer](https://sms4smile.com/quotes/author/philipp-meyer/)

> [“To think is to forget differences, generalize, make abstractions.”](https://sms4smile.com/quotes/angela-harris/to-think-is-to-forget-differences-generalize-make-abstractions/)

Angela Harris

> [Abstractions about right and wrong, whether they are as old as Thou Shalt Not Kill or as modern as Do Your Own Thing, often…](https://sms4smile.com/quotes/ursula-k-le-guin/abstractions-about-right-and-wrong-whether-they-are-as-old-as-thou/)

[Ursula K. Le Guin](https://sms4smile.com/quotes/author/ursula-k-le-guin/)

> [You can deny, if you like, nearly all abstractions: justice, beauty, truth, goodness, mind, God. You can deny seriousness, but not play.](https://sms4smile.com/quotes/johan-huizinga/you-can-deny-if-you-like-nearly-all-abstractions-justice-beauty-truth/)

[Johan Huizinga](https://sms4smile.com/quotes/author/johan-huizinga/)

> [It is easier to compare concrete things in a fictional story with concrete things in real life than it is to compare abstractions with…](https://sms4smile.com/quotes/peter-kreeft/it-is-easier-to-compare-concrete-things-in-a-fictional-story-with/)

[Peter Kreeft](https://sms4smile.com/quotes/author/peter-kreeft/)

> [At the same time, new concepts and abstractions flow into the picture, taking up the task of describing the universe without reference to such…](https://sms4smile.com/quotes/anonymous/at-the-same-time-new-concepts-and-abstractions-flow-into-the-picture/)

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

> [Policymakers think that if they get the abstractions right, that will drive behavior in the desired direction. But the world happens in real time.](https://sms4smile.com/quotes/sendhil-mullainathan/policymakers-think-that-if-they-get-the-abstractions-right-that-will/)

[Sendhil Mullainathan](https://sms4smile.com/quotes/author/sendhil-mullainathan/)

> [To make someone an icon is to make him an abstraction, and abstractions are incapable of vital communication with living people.](https://sms4smile.com/quotes/david-foster-wallace/to-make-someone-an-icon-is-to-make-him-an-abstraction-and/)

[David Foster Wallace](https://sms4smile.com/quotes/author/david-foster-wallace/)

> [For the Warrior of the Light, there are no abstractions.](https://sms4smile.com/quotes/paulo-coelho/for-the-warrior-of-the-light-there-are-no-abstractions/)

[Paulo Coelho](https://sms4smile.com/quotes/author/paulo-coelho/)

> [I don't see those paintings as abstractions, especially because they are emblems of the inkblot. They aren't smashed together; they are constructed shape-by-shape, layer-by-layer,…](https://sms4smile.com/quotes/kerry-james-marshall/i-don-t-see-those-paintings-as-abstractions-especially-because-they/)

[Kerry James Marshall](https://sms4smile.com/quotes/author/kerry-james-marshall/)

> [I think we are living a life without specificity, and then our lives become abstractions.](https://sms4smile.com/quotes/terry-tempest-williams/i-think-we-are-living-a-life-without-specificity-and-then-our-lives/)

[Terry Tempest Williams](https://sms4smile.com/quotes/author/terry-tempest-williams/)

> [Even at its most perceptive, sociology deals in abstractions.](https://sms4smile.com/quotes/richard-russo/even-at-its-most-perceptive-sociology-deals-in-abstractions/)

[Richard Russo](https://sms4smile.com/quotes/author/richard-russo/)

> [My father painted, well into his 80s, what he called hard edge abstractions. It's really cool.](https://sms4smile.com/quotes/lewis-black/my-father-painted-well-into-his-80s-what-he-called-hard-edge/)

[Lewis Black](https://sms4smile.com/quotes/author/lewis-black/)

[Browse all 56 Abstractions quotes ](https://sms4smile.com/quotes/about/abstractions/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“The general rule for refactoring into a new inheritance hierarchy is to arrange code so that you can promote abstractions rather than demote concretions.”",
            "creator": {
                "@type": "Person",
                "name": "Anonymous"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/anonymous/the-general-rule-for-refactoring-into-a-new-inheritance-hierarchy-is/",
            "about": {
                "@type": "Thing",
                "name": "Abstractions"
            },
            "@id": "https://sms4smile.com/quotes/anonymous/the-general-rule-for-refactoring-into-a-new-inheritance-hierarchy-is/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/ee6/anonymous-1_abstractions_the-general-rule-for-refactoring-into-a_2829784.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/ee6/anonymous-1_abstractions_the-general-rule-for-refactoring-into-a_2829784.jpg",
                "url": "https://sms4smile.com/quotes/i/ee6/anonymous-1_abstractions_the-general-rule-for-refactoring-into-a_2829784.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“The general rule for refactoring into a new inheritance hierarchy is to arrange code so that you can promote…” — Anonymous",
                "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": "Anonymous",
                    "item": "https://sms4smile.com/quotes/author/anonymous/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“The general rule for refactoring into...",
                    "item": "https://sms4smile.com/quotes/anonymous/the-general-rule-for-refactoring-into-a-new-inheritance-hierarchy-is/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/anonymous/the-general-rule-for-refactoring-into-a-new-inheritance-hierarchy-is/#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
            }
        }
    ]
}
```
