dictionary · eo1.org

circle-ellipse problem

Fetched 2026-10-26 (cache).

Datamuse reports no synonyms or antonyms for this word.

Noun

  1. {{lb|en|object-oriented}} The problematic situation where a [[base class]] contains [[method]]s 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.

Source: Wiktionary · CC BY-SA 4.0 (Wiktionary dump) · cached copy, not a rewrite.