DEV Community

Discussion on: SOLID Principles made easy

Collapse
 
piernik profile image
piernik

Great arcitle but can You provide example code for Liskov Substitution Principle??
I don't understand it :/

Collapse
 
dhurimkelmendi profile image
Dhurim Kelmendi • Edited

Thank you!

As for a code example, check out this article:
vitalflux.com/liskov-substitution-...

seems like a good, simple code example of the LSP.