Liskov Substitution Principle Explained - SOLID Design Principles
Автор: Web Dev Simplified
Загружено: 2019-12-24
Просмотров: 146659
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: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#SOLID #WDS #LiskovSubstituionPriniciple
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: