"circle-ellipse problem" meaning in English

See circle-ellipse problem in All languages combined, or Wiktionary

Noun

Head templates: {{head|en|noun|head=circle-ellipse problem}} circle-ellipse problem
  1. (object-oriented programming) The problematic situation where a base class contains methods which mutate an object in a manner which may invalidate a (stronger) invariant found in a derived class, violating the Liskov substitution principle. For example, if a circle is modelled as a subtype of an ellipse, and the ellipse has a method that stretches it on one axis, the circle must also implement that method despite it making no sense for a circle. Wikipedia link: circle-ellipse problem Categories (topical): Object-oriented programming
    Sense id: en-circle-ellipse_problem-en-noun-04qUpGGM Categories (other): English entries with incorrect language header, Pages with 1 entry, Pages with entries
{
  "head_templates": [
    {
      "args": {
        "1": "en",
        "2": "noun",
        "head": "circle-ellipse problem"
      },
      "expansion": "circle-ellipse problem",
      "name": "head"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Object-oriented programming",
          "orig": "en:Object-oriented programming",
          "parents": [
            "Programming",
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "glosses": [
        "The problematic situation where a base class contains methods which mutate an object in a manner which may invalidate a (stronger) invariant found in a derived class, violating the Liskov substitution principle. For example, if a circle is modelled as a subtype of an ellipse, and the ellipse has a method that stretches it on one axis, the circle must also implement that method despite it making no sense for a circle."
      ],
      "id": "en-circle-ellipse_problem-en-noun-04qUpGGM",
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "base class",
          "base class"
        ],
        [
          "method",
          "method"
        ],
        [
          "mutate",
          "mutate"
        ],
        [
          "object",
          "object"
        ],
        [
          "invalidate",
          "invalidate"
        ],
        [
          "invariant",
          "invariant"
        ],
        [
          "derived class",
          "derived class"
        ],
        [
          "Liskov substitution principle",
          "Liskov substitution principle"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) The problematic situation where a base class contains methods which mutate an object in a manner which may invalidate a (stronger) invariant found in a derived class, violating the Liskov substitution principle. For example, if a circle is modelled as a subtype of an ellipse, and the ellipse has a method that stretches it on one axis, the circle must also implement that method despite it making no sense for a circle."
      ],
      "wikipedia": [
        "circle-ellipse problem"
      ]
    }
  ],
  "word": "circle-ellipse problem"
}
{
  "head_templates": [
    {
      "args": {
        "1": "en",
        "2": "noun",
        "head": "circle-ellipse problem"
      },
      "expansion": "circle-ellipse problem",
      "name": "head"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "Pages with 1 entry",
        "Pages with entries",
        "en:Object-oriented programming"
      ],
      "glosses": [
        "The problematic situation where a base class contains methods which mutate an object in a manner which may invalidate a (stronger) invariant found in a derived class, violating the Liskov substitution principle. For example, if a circle is modelled as a subtype of an ellipse, and the ellipse has a method that stretches it on one axis, the circle must also implement that method despite it making no sense for a circle."
      ],
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "base class",
          "base class"
        ],
        [
          "method",
          "method"
        ],
        [
          "mutate",
          "mutate"
        ],
        [
          "object",
          "object"
        ],
        [
          "invalidate",
          "invalidate"
        ],
        [
          "invariant",
          "invariant"
        ],
        [
          "derived class",
          "derived class"
        ],
        [
          "Liskov substitution principle",
          "Liskov substitution principle"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) The problematic situation where a base class contains methods which mutate an object in a manner which may invalidate a (stronger) invariant found in a derived class, violating the Liskov substitution principle. For example, if a circle is modelled as a subtype of an ellipse, and the ellipse has a method that stretches it on one axis, the circle must also implement that method despite it making no sense for a circle."
      ],
      "wikipedia": [
        "circle-ellipse problem"
      ]
    }
  ],
  "word": "circle-ellipse problem"
}

Download raw JSONL data for circle-ellipse problem meaning in English (1.7kB)


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-12-21 from the enwiktionary dump dated 2024-12-04 using wiktextract (d8cb2f3 and 4e554ae). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.