Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Change wording and add examples for Liskov Substitution Principle #251
Conversation
|
Thanks for your expertise! You're right. Can you update your commit to not have the code example at the bottom. I like to keep the code examples only in a Good or Bad block |


Hello! Love this repo - incredibly useful, and I've bookmarked it for future reference.
I'd like to suggest a change to the writeup on the Liskov Substitution Principle. The text right now indicates that instances of a parent and child class can be used interchangeably. This is incorrect - the parent can be replaced by the child, but not the other way around. I've updated the wording and added a small illustrative example.
Thanks for maintaining this!