Weekly Dev Tips

Liskov Substitution


Listen Later

This is episode 53, on the Liskov Substitution principle. The typical definition used today is that subtypes should always be substitutable for their base types. If this isn't the case, it likely means you have the wrong inheritance relationship, or your interface isn't cohesive enough, or there is some other code smell you should consider addressing through refactoring.
...more
View all episodesView all episodes
Download on the App Store

Weekly Dev TipsBy Steve Smith (@ardalis)

  • 5
  • 5
  • 5
  • 5
  • 5

5

66 ratings