Interface Segregation Principle Explained - SOLID Design Principles
🚨 IMPORTANT:
1 Year Free Hosting: https://www.atlantic.net/webdevsimplified
Use code KYLE for an additional $50
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 interface segregation principle. This principle is part of the SOLID design principles and is, in my opinion, the easiest rule of SOLID for to understand and implement.
The main idea of the interface segregation principle is that any class that implements an interface must use all functions/properties of the interface. JavaScript does not have actual interfaces, but a class inheritance structure is similar enough that it works in this instance. This means that any class that inherits from another class needs to use all of the methods/properties from the base class. This encourages writing small classes instead of large classes.
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.
📚 Materials/References:
Composition Vs Inheritance Video: https://youtu.be/nnwD5Lwwqdo
🧠 Concepts Covered:
- What the interface segregation principle is
- Why the interface segregation principle is important
- How to use the interface segregation principle
- How to spot violations of the interface segregation 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 #InterfaceSegregationPrinciple
Видео Interface Segregation Principle Explained - SOLID Design Principles канала Web Dev Simplified
1 Year Free Hosting: https://www.atlantic.net/webdevsimplified
Use code KYLE for an additional $50
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 interface segregation principle. This principle is part of the SOLID design principles and is, in my opinion, the easiest rule of SOLID for to understand and implement.
The main idea of the interface segregation principle is that any class that implements an interface must use all functions/properties of the interface. JavaScript does not have actual interfaces, but a class inheritance structure is similar enough that it works in this instance. This means that any class that inherits from another class needs to use all of the methods/properties from the base class. This encourages writing small classes instead of large classes.
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.
📚 Materials/References:
Composition Vs Inheritance Video: https://youtu.be/nnwD5Lwwqdo
🧠 Concepts Covered:
- What the interface segregation principle is
- Why the interface segregation principle is important
- How to use the interface segregation principle
- How to spot violations of the interface segregation 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 #InterfaceSegregationPrinciple
Видео Interface Segregation Principle Explained - SOLID Design Principles канала Web Dev Simplified
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Dependency Inversion Principle Explained - SOLID Design Principles](https://i.ytimg.com/vi/9oHY5TllWaU/default.jpg)
![Interface Segregation Principle (SOLID) | Code Walks 023](https://i.ytimg.com/vi/xahwVmf8itI/default.jpg)
![5 Design Patterns Every Engineer Should Know](https://i.ytimg.com/vi/FLmBqI3IKMA/default.jpg)
![Composition Vs Inheritance - Why You Should Stop Using Inheritance](https://i.ytimg.com/vi/nnwD5Lwwqdo/default.jpg)
![](https://i.ytimg.com/vi/KT9eKNhGTa0/default.jpg)
![](https://i.ytimg.com/vi/FzLaUhApPLk/default.jpg)
![Builder Pattern - Design Patterns](https://i.ytimg.com/vi/M7Xi1yO_s8E/default.jpg)
![Design Patterns: Interface Segregation Principle Explained Practically in C# (The I in SOLID)](https://i.ytimg.com/vi/y1JiMGP51NE/default.jpg)
![What You Need To Do To Become A Great Developer](https://i.ytimg.com/vi/FNk2NYW-13k/default.jpg)
![Why I Don't Use Else When Programming](https://i.ytimg.com/vi/EumXak7TyQ0/default.jpg)
![Open/Closed Principle Explained - SOLID Design Principles](https://i.ytimg.com/vi/-ptMtJAdj40/default.jpg)
![What Is JWT and Why Should You Use JWT](https://i.ytimg.com/vi/7Q17ubqLfaM/default.jpg)
![Singleton Pattern - Design Patterns](https://i.ytimg.com/vi/sJ-c3BA-Ypo/default.jpg)
![TypeScript Tutorial #15 - Interfaces](https://i.ytimg.com/vi/VbW6vWTaHOY/default.jpg)
![Object-oriented Programming in JavaScript: Made Super Simple | Mosh](https://i.ytimg.com/vi/PFmuCDHHpwk/default.jpg)
![Learn React In 30 Minutes](https://i.ytimg.com/vi/hQAHSlTtcmY/default.jpg)
![Why Is Array/Object Destructuring So Useful And How To Use It](https://i.ytimg.com/vi/NIq3qLaHCIs/default.jpg)
![How To Build Sortable Drag & Drop With Vanilla Javascript](https://i.ytimg.com/vi/jfYWwQrtzzY/default.jpg)
![Single Responsibility Principle Explained - SOLID Design Principles](https://i.ytimg.com/vi/UQqY3_6Epbg/default.jpg)
![How I Was Able To Get 4 Junior Dev Job Offers Within 1 Week](https://i.ytimg.com/vi/fO5Sx7l6Nps/default.jpg)