October 2018
Intermediate to advanced
590 pages
15h 5m
English
In 1988, Barbara Liskov wrote this principle in the following way as a way to identify subtypes:
And it is paraphrased as the following by Robert C. Martin in his book, Agile Software Development: Principles, Patterns, and Practices:
Subtypes must be substitutable for their base types.
Here, we're going to use the square/rectangle problem from Agile Software Development: Principles, Patterns, and Practices, as an example of a violation ...
Read now
Unlock full access