---
title: "Meaning & Key Takeaway of: Software entities (classes, modules…"
description: "\"Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.\" — Bertrand Meyer"
image: "https://sms4smile.com/quotes/i/019/bertrand-meyer-31554_class_software-entities-classes-modules-functi_1887610.jpg"
---

#  Software entities (classes, modules, functions, etc.)…

![“Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.” quote by Bertrand Meyer](https://sms4smile.com/quotes/i/019/bertrand-meyer-31554_class_software-entities-classes-modules-functi_1887610.jpg)   [Download](https://sms4smile.com/quotes/i/019/bertrand-meyer-31554_class_software-entities-classes-modules-functi_1887610.jpg) [Open image](https://sms4smile.com/quotes/i/019/bertrand-meyer-31554_class_software-entities-classes-modules-functi_1887610.jpg)

> “Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.”

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

## About This Quote

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

Software components should be designed to allow new functionality without altering existing code, ensuring stability and adaptability.

**In simple terms:** Make software extendable but not changeable.

Key Takeaway

Design for change, protect existing behavior.

Themes

software design modularity maintenance

Mood

analytical pragmatic

Type

technical educational

When to use this quote

- API development
- plugin systems
- legacy code updates
- team coding standards

Key Concepts

object‑orientation SOLID principles

Questions to Reflect On

- What parts of your code need better extensibility?
- How do you balance stability with flexibility?

A Different Perspective

Rigid designs can hinder innovation.

★ ★ ★ ★ ★   No ratings yet

[Class](https://sms4smile.com/quotes/about/class/) [Software](https://sms4smile.com/quotes/about/software/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [An idea is nothing, but the extension of the person.](https://sms4smile.com/quotes/tasneem-hameed/an-idea-is-nothing-but-the-extension-of-the-person/)

[Tasneem Hameed](https://sms4smile.com/quotes/author/tasneem-hameed/)

> [The lead character in 'Yennai Arindhaal' is like an extension of the protagonists of 'Kaakha Kaakha' and 'Vettaiyaadu Vilaiyaadu.'](https://sms4smile.com/quotes/gautham-menon/the-lead-character-in-yennai-arindhaal-is-like-an-extension-of-the/)

[Gautham Menon](https://sms4smile.com/quotes/author/gautham-menon/)

> [If you walk down the street and see someone in a box, you have a choice. That person is either the other and you're…](https://sms4smile.com/quotes/susan-sarandon/if-you-walk-down-the-street-and-see-someone-in-a-box-you-have-a/)

[Susan Sarandon](https://sms4smile.com/quotes/author/susan-sarandon/)

> [The only result of our present system - unless we reverse the drift - must be the gradual extension of the fascist sector and…](https://sms4smile.com/quotes/john-t-flynn/the-only-result-of-our-present-system-unless-we-reverse-the-drift/)

[John T. Flynn](https://sms4smile.com/quotes/author/john-t-flynn/)

> [I went to a French immersion school, and French-Canadian improv is a big thing, and we had an improv team at school, and 12…](https://sms4smile.com/quotes/tatiana-maslany/i-went-to-a-french-immersion-school-and-french-canadian-improv-is-a/)

[Tatiana Maslany](https://sms4smile.com/quotes/author/tatiana-maslany/)

> [Lifespan extension has never really been a goal of aging science, nor should it.](https://sms4smile.com/quotes/s-jay-olshansky/lifespan-extension-has-never-really-been-a-goal-of-aging-science-nor/)

[S. Jay Olshansky](https://sms4smile.com/quotes/author/s-jay-olshansky/)

> [I was originally a painter, and I made films sort of as an extension of that, and then I started to try to make…](https://sms4smile.com/quotes/gus-van-sant/i-was-originally-a-painter-and-i-made-films-sort-of-as-an-extension/)

[Gus Van Sant](https://sms4smile.com/quotes/author/gus-van-sant/)

> [“Regard your content as something more, as something other than just words and images on a page—as an extension of your brand.”](https://sms4smile.com/quotes/ann-handley/regard-your-content-as-something-more-as-something-other-than-just/)

[Ann Handley](https://sms4smile.com/quotes/author/ann-handley/)

> [My participation in the Art of the Olympians is a natural extension of my athletic career. I find creating a piece of art in…](https://sms4smile.com/quotes/bob-beamon/my-participation-in-the-art-of-the-olympians-is-a-natural-extension/)

[Bob Beamon](https://sms4smile.com/quotes/author/bob-beamon/)

> [“You will live in the future as an extension of the lives that you have touched. Therefore, you may wish to consider how you’re…](https://sms4smile.com/quotes/craig-d-lounsbrough/you-will-live-in-the-future-as-an-extension-of-the-lives-that-you/)

[Craig D. Lounsbrough](https://sms4smile.com/quotes/author/craig-d-lounsbrough/)

> [I wanted to do something as an extension of my passion for music. My aim for the STREET by 50 On-Ear Wired Headphone range…](https://sms4smile.com/quotes/curtis-jackson/i-wanted-to-do-something-as-an-extension-of-my-passion-for-music-my/)

[Curtis Jackson](https://sms4smile.com/quotes/author/curtis-jackson/)

> [“There is a part of 'Me' in 'You'. You are my extension, you are my manifestation.”](https://sms4smile.com/quotes/nishant-dutt/there-is-a-part-of-me-in-you-you-are-my-extension-you-are-my/)

Nishant Dutt

> [“The pen is an extension of my anatomy.”](https://sms4smile.com/quotes/abhijit-naskar/the-pen-is-an-extension-of-my-anatomy/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [Extension work is not exhortation. Nor is it exploitation of the people, or advertising of an institution, or publicity work for securing students. It…](https://sms4smile.com/quotes/liberty-hyde-bailey/extension-work-is-not-exhortation-nor-is-it-exploitation-of-the/)

[Liberty Hyde Bailey](https://sms4smile.com/quotes/author/liberty-hyde-bailey/)

> [What is the son but an extension of the father?](https://sms4smile.com/quotes/frank-herbert/what-is-the-son-but-an-extension-of-the-father/)

[Frank Herbert](https://sms4smile.com/quotes/author/frank-herbert/)

## More by Bertrand Meyer

> [Eiffel borrows quite openly from several earlier programming languages and I am sure that if we had found a good language construct in C…](https://sms4smile.com/quotes/bertrand-meyer/eiffel-borrows-quite-openly-from-several-earlier-programming/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time.](https://sms4smile.com/quotes/bertrand-meyer/you-can-either-have-software-quality-or-you-can-have-pointer/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [Incorrect documentation is often worse than no documentation.](https://sms4smile.com/quotes/bertrand-meyer/incorrect-documentation-is-often-worse-than-no-documentation/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [I think Smalltalk is inappropriate for serious industrial developments. After all, run time is a little late to find out whether you have a…](https://sms4smile.com/quotes/bertrand-meyer/i-think-smalltalk-is-inappropriate-for-serious-industrial/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [As Mr. Nagle so competently points out, almost no one uses Eiffel; in fact until recently there were only 9 users. But now a…](https://sms4smile.com/quotes/bertrand-meyer/as-mr-nagle-so-competently-points-out-almost-no-one-uses-eiffel-in/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [Ask not first what the system does; ask what it does it to!](https://sms4smile.com/quotes/bertrand-meyer/ask-not-first-what-the-system-does-ask-what-it-does-it-to/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [Constants are widely known for the detestable practice of changing their values; we should prepare ourselves against the consequences of such fickleness](https://sms4smile.com/quotes/bertrand-meyer/constants-are-widely-known-for-the-detestable-practice-of-changing/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [Perfect reusable components are not obtained at the first shot.](https://sms4smile.com/quotes/bertrand-meyer/perfect-reusable-components-are-not-obtained-at-the-first-shot/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [Correctness is clearly the prime quality. If a system does not do what it is supposed to do, then everything else about it matters…](https://sms4smile.com/quotes/bertrand-meyer/correctness-is-clearly-the-prime-quality-if-a-system-does-not-do-what/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [There are only two things wrong with C++: The initial concept and the implementation.](https://sms4smile.com/quotes/bertrand-meyer/there-are-only-two-things-wrong-with-c-the-initial-concept-and-the/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [C++ is the only current language making COBOL look good](https://sms4smile.com/quotes/bertrand-meyer/c-is-the-only-current-language-making-cobol-look-good/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [I have always felt sympathy towards the biologists who accept to debate creationists. Now I also understand them better; one can fight opinions, not…](https://sms4smile.com/quotes/bertrand-meyer/i-have-always-felt-sympathy-towards-the-biologists-who-accept-to/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [Careful as they may be, developers of Eiffel libraries will always run into cases in which, after releasing a library class, they suddenly experience…](https://sms4smile.com/quotes/bertrand-meyer/careful-as-they-may-be-developers-of-eiffel-libraries-will-always-run/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [Writing a class without its contract would be similar to producing an engineering component (electrical circuit, VLSI (Very Large Scale Integration) chip, bridge, engine...)…](https://sms4smile.com/quotes/bertrand-meyer/writing-a-class-without-its-contract-would-be-similar-to-producing-an/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

> [The role of a trainer or consultant is to empower the customer, not to make himself indispensable](https://sms4smile.com/quotes/bertrand-meyer/the-role-of-a-trainer-or-consultant-is-to-empower-the-customer-not-to/)

[Bertrand Meyer](https://sms4smile.com/quotes/author/bertrand-meyer/)

[Explore all 16 Bertrand Meyer quotes ](https://sms4smile.com/quotes/author/bertrand-meyer/)

## More Class quotes

> [Where I grew up, learning was a collective activity. But when I got to school and tried to share learning with other students that…](https://sms4smile.com/quotes/henry-giroux/where-i-grew-up-learning-was-a-collective-activity-but-when-i-got-to/)

[Henry Giroux](https://sms4smile.com/quotes/author/henry-giroux/)

> [If I had to guess and put a name on it, I'd say that at some point, the drug war was as much a…](https://sms4smile.com/quotes/david-simon/if-i-had-to-guess-and-put-a-name-on-it-i-d-say-that-at-some-point-the/)

[David Simon](https://sms4smile.com/quotes/author/david-simon/)

> [I grew up in the middle class.](https://sms4smile.com/quotes/anthony-scaramucci/i-grew-up-in-the-middle-class/)

[Anthony Scaramucci](https://sms4smile.com/quotes/author/anthony-scaramucci/)

> [It must be assumed and established as a principle, that the right of private property must be regarded as sacred. Wherefore, the law ought…](https://sms4smile.com/quotes/pope-leo-xiii/it-must-be-assumed-and-established-as-a-principle-that-the-right-of/)

[Pope Leo XIII](https://sms4smile.com/quotes/author/pope-leo-xiii/)

> [The rich people are apparently leaving America. They're giving up their citizenship. These great lovers of America who made their money in this country-when…](https://sms4smile.com/quotes/bernie-sanders/the-rich-people-are-apparently-leaving-america-they-re-giving-up/)

[Bernie Sanders](https://sms4smile.com/quotes/author/bernie-sanders/)

> [I certainly don't think that the heirs of the American Revolution were a particularly noble class.](https://sms4smile.com/quotes/h-w-brands/i-certainly-don-t-think-that-the-heirs-of-the-american-revolution/)

[H. W. Brands](https://sms4smile.com/quotes/author/h-w-brands/)

> [You’re crazy,” said her best friend, Angela, as the bell rang to signal five minutes before the first class on the first day back…](https://sms4smile.com/quotes/sarah-rees-brennan/you-re-crazy-said-her-best-friend-angela-as-the-bell-rang-to-signal/)

[Sarah Rees Brennan](https://sms4smile.com/quotes/author/sarah-rees-brennan/)

> [“Poor people do not go on holiday; they go home.”](https://sms4smile.com/quotes/mokokoma-mokhonoana/poor-people-do-not-go-on-holiday-they-go-home/)

[Mokokoma Mokhonoana](https://sms4smile.com/quotes/author/mokokoma-mokhonoana/)

> [Because there are three classes of intellects: one which comprehends by itself; another which appreciates what others comprehend; and a third which neither comprehends…](https://sms4smile.com/quotes/niccolo-machiavelli/because-there-are-three-classes-of-intellects-one-which-comprehends/)

[Niccolo Machiavelli](https://sms4smile.com/quotes/author/niccolo-machiavelli/)

> [Right now, for many Americans, class is being foregrounded like never before because of the economic situation. It doesn't mean that race doesn't matter,…](https://sms4smile.com/quotes/bell-hooks/right-now-for-many-americans-class-is-being-foregrounded-like-never/)

[Bell Hooks](https://sms4smile.com/quotes/author/bell-hooks/)

> [But I don't think the Democratic Party is at eye level with the middle class.](https://sms4smile.com/quotes/anonymous/but-i-don-t-think-the-democratic-party-is-at-eye-level-with-the/)

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

> [I'm not a dancer. Never took a dance class.](https://sms4smile.com/quotes/chrishell-stause/i-m-not-a-dancer-never-took-a-dance-class/)

[Chrishell Stause](https://sms4smile.com/quotes/author/chrishell-stause/)

> [Most startups are not just built for the person who is using them. When you do that, every now and then you get really…](https://sms4smile.com/quotes/emmett-shear/most-startups-are-not-just-built-for-the-person-who-is-using-them/)

[Emmett Shear](https://sms4smile.com/quotes/author/emmett-shear/)

> [The structure of the Swiss ruling class is rock-hard, and unchanged since the time of Napoleon. They sit on their mountains and lecture the…](https://sms4smile.com/quotes/jean-ziegler/the-structure-of-the-swiss-ruling-class-is-rock-hard-and-unchanged/)

[Jean Ziegler](https://sms4smile.com/quotes/author/jean-ziegler/)

> [We are not going back to the failed policies of the past. We are fighting for the middle class!](https://sms4smile.com/quotes/nancy-pelosi/we-are-not-going-back-to-the-failed-policies-of-the-past-we-are/)

[Nancy Pelosi](https://sms4smile.com/quotes/author/nancy-pelosi/)

[Browse all 7,637 Class quotes ](https://sms4smile.com/quotes/about/class/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.",
            "creator": {
                "@type": "Person",
                "name": "Bertrand Meyer"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/bertrand-meyer/software-entities-classes-modules-functions-etc-should-be-open-for/",
            "about": {
                "@type": "Thing",
                "name": "Class"
            },
            "@id": "https://sms4smile.com/quotes/bertrand-meyer/software-entities-classes-modules-functions-etc-should-be-open-for/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/019/bertrand-meyer-31554_class_software-entities-classes-modules-functi_1887610.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/019/bertrand-meyer-31554_class_software-entities-classes-modules-functi_1887610.jpg",
                "url": "https://sms4smile.com/quotes/i/019/bertrand-meyer-31554_class_software-entities-classes-modules-functi_1887610.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Software entities (classes, modules, functions, etc.) should be open for extension, but closed for…” — Bertrand Meyer",
                "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": "Bertrand Meyer",
                    "item": "https://sms4smile.com/quotes/author/bertrand-meyer/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Software entities (classes, modules, functions, etc.)...",
                    "item": "https://sms4smile.com/quotes/bertrand-meyer/software-entities-classes-modules-functions-etc-should-be-open-for/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/bertrand-meyer/software-entities-classes-modules-functions-etc-should-be-open-for/#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
            }
        }
    ]
}
```
