circle-ellipse problem

Hello, you have come here looking for the meaning of the word circle-ellipse problem. In DICTIOUS you will not only get to know all the dictionary meanings for the word circle-ellipse problem, but we will also tell you about its etymology, its characteristics and you will know how to say circle-ellipse problem in singular and plural. Everything you need to know about the word circle-ellipse problem you have here. The definition of the word circle-ellipse problem will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofcircle-ellipse problem, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

Noun

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.