Re:OOP practiced backwards is "POO"
by limmeau on Saturday December 11, 2010 @04:48PM
(#1995736)
I don't get how subclasses are supersets of their parents. The set of instances of a subclass is a (usually proper) subset of the set of instances of its superclass (in any mainstream class-OO language).
Also, writing a subclass definition can be seen as adding constraints (of the form "must also have a bla() method returning an int").
Also, writing a subclass definition can be seen as adding constraints (of the form "must also have a bla() method returning an int").