Liskov Substitution Principle Explained - SOLID Design Principles
Writing clean code is tough, and is one of the largest differences between junior and senior developers. One way that you can quickly improve your code and start writing well designed code now is to implement the Liskov substitution principle. This principle is part of the SOLID design principles and is, in my opinion, the most important rule of SOLID for object oriented programming.
The main idea of the Liskov substitution principle is that any function/module that interacts with a class should also be able to interact with all subclasses of that class without breaking. This essentially means that a class is interchangeable with its subclasses.
Most likely you have written tons of code in violation of this principle, I know I have, but hopefully this video will help introduce you to why this principle is so good at making your code clean and maintainable.
🧠 Concepts Covered:
- What the Liskov substitution principle is
- Why the Liskov substitution principle is important
- How to use the Liskov substitution principle
- How to spot violations of the Liskov substitution principle
🌎 Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#SOLID #WDS #LiskovSubstituionPriniciple
Видео Liskov Substitution Principle Explained - SOLID Design Principles канала Web Dev Simplified
The main idea of the Liskov substitution principle is that any function/module that interacts with a class should also be able to interact with all subclasses of that class without breaking. This essentially means that a class is interchangeable with its subclasses.
Most likely you have written tons of code in violation of this principle, I know I have, but hopefully this video will help introduce you to why this principle is so good at making your code clean and maintainable.
🧠 Concepts Covered:
- What the Liskov substitution principle is
- Why the Liskov substitution principle is important
- How to use the Liskov substitution principle
- How to spot violations of the Liskov substitution principle
🌎 Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#SOLID #WDS #LiskovSubstituionPriniciple
Видео Liskov Substitution Principle Explained - SOLID Design Principles канала Web Dev Simplified
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![You Suck At Accessibility (But You Don't Have To)](https://i.ytimg.com/vi/1A6SrPwmGpg/default.jpg)
![Container Queries In TailwindCSS](https://i.ytimg.com/vi/LGel4xkAdMs/default.jpg)
![How To Create The YouTube Home Page With Tailwind, React, and TypeScript](https://i.ytimg.com/vi/ymGB1lqP1CM/default.jpg)
![This New CSS Property Is Simple Yet Useful](https://i.ytimg.com/vi/RCeTiBP6ffs/default.jpg)
![CSS nth-child Just Got 100x Better](https://i.ytimg.com/vi/40aBJEoSiQI/default.jpg)
![Clean Code Is Killing Your Projects](https://i.ytimg.com/vi/1uzlBSL7-UM/default.jpg)
![This CSS Feature Replaces CSS-In-JS](https://i.ytimg.com/vi/ioM3cKiTzDc/default.jpg)
![The Best React State Management Solution Has Been There All Along](https://i.ytimg.com/vi/oZZEI23Ri6E/default.jpg)
![NEW React Hooks Saves 1K+ Lines Of Code](https://i.ytimg.com/vi/3nj9MvqJFxU/default.jpg)
![NEW Way To Create Variables In JavaScript](https://i.ytimg.com/vi/mGou_ii5X0w/default.jpg)
![New useFormStatus React Hook](https://i.ytimg.com/vi/x-ntJfVT_h4/default.jpg)
![CSS Anchor Is The Best New CSS Feature Since Flexbox](https://i.ytimg.com/vi/B4Y9Ed4lLAI/default.jpg)
![Help Me Teach You TypeScript](https://i.ytimg.com/vi/VTMXnZNWwv0/default.jpg)
![Stop Using {} In TypeScript](https://i.ytimg.com/vi/_e4m4DjnBCE/default.jpg)
![If You Think Pick/Omit Are Useless Then You Need To Watch This](https://i.ytimg.com/vi/ox6dTVVqBZw/default.jpg)
![NEW React Simplified Course Announcement!](https://i.ytimg.com/vi/Zo05jFwWE0k/default.jpg)
![This New CSS Text Property Is Amazing For Headings](https://i.ytimg.com/vi/fkQQhw_ZrIw/default.jpg)
![How To Instantly Destroy Your Own Business](https://i.ytimg.com/vi/Zs55FN4MZXQ/default.jpg)
![Is This The Best New UI Library?](https://i.ytimg.com/vi/LXSuJgaVlfw/default.jpg)
![Pick/Omit Are One Of The Best Features Of TypeScript](https://i.ytimg.com/vi/tNN8xXDNp9o/default.jpg)
![Stop Watching Programming Tutorials](https://i.ytimg.com/vi/4fXOjwl2HOQ/default.jpg)