LSP - The Liskov Substitution Principle in 5 minutes

So for the 3rd installment in my mini-series on the SOLID principles we have the Liskov Substitution Principle or LSP. In under 5 minutes we briskly talk about Barbara Liskov and her assertion that:

if S is a subtype of T, then objects of type T may be replaced with objects of type S

What does that mean? well watch the video ;)


blog comments powered by Disqus



The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2014