The Liskov Substitution Principle as a profunctor

added by DotNetKicks
12/6/2021 4:00:56 PM


With a realistic example in C#. Like the previous article on Postel's law as a profunctor, this article is part of a series titled Some design patterns as universal abstractions. And like the previous article, it's a bit of a stretch to include the present article in that series, since the Liskov Substitution Principle (LSP) isn't a design pattern, but rather a software design principle or heuristic.