Explain the principle of Subsumption, also known as the Liskov Substituiton Principle.
From Joshua Bloch and Neal Gafter's Java Puzzlers book:
This principle says that everything you can do with a base class, you can also do with a derived class. Subsumption is an integral part of the natural mental model of object-oriented programming. Whenever it is violated, a programm becomes more difficult to understand.
Learned bias interferes with reasoning
8 months ago