Possible Solutions
One may solve the problem by changing one's model, or perhaps using a different language, which could be a (not yet implemented) extension of an existing language, or by using a different paradigm. Exactly which option is appropriate will depend on who wrote Circle
and who wrote Ellipse
. If the same author is designing them both from scratch, then the author will be able to define the interface to handle this situation. If the Ellipse
object was already written, and cannot be changed, then the options are more limited.
Read more about this topic: Circle-ellipse Problem
Famous quotes containing the word solutions:
“Those great ideas which come to you in your sleep just before you awake in morning, those solutions to the worlds problems which, in the light of day, turn out to be duds of the puniest order, couldnt they be put to some use, after all?”
—Robert Benchley (18891945)
“Football strategy does not originate in a scrimmage: it is useless to expect solutions in a political compaign.”
—Walter Lippmann (18891974)