Duration 5900

Interface Segregation Principle Tutorial for Software Developer | Solid Principles

35 watched
0
0
Published 5 Mar 2023

Interface Segregation principle is the Fourth principle of SOLID principles. Interface Segregation principle states that Clients should not be forced to depend upon interfaces that they do not use. Similar to the Single Responsibility Principle, the goal of the Interface Segregation Principle is to reduce the side effects and frequency of required changes by splitting the software into multiple, independent parts. The goal of this principle is to reduce the side effects of using larger interfaces by breaking application interfaces into smaller ones. It's similar to the Single Responsibility Principle, where each class or interface serves a single purpose. The Interface Segregation Principle was defined by Robert C. Martin while consulting for Xerox to help them build the software for their new printer systems. Interface Segregation Principle prevents bloated interfaces that define methods for multiple responsibilities. As explained in the Single Responsibility Principle, you should avoid classes and interfaces with multiple responsibilities because they change often and make your software hard to maintain. ** Use of Interface Segregation Principle ** 1. Use Interface Segregation principle if you want small, focused, and highly cohesive software components. 2. Use Interface Segregation if you want separation of concerns 3. Use Interface Segregation if you want to have small and dedicated interface. 4. Use Interface Segregation when you don’t want consumer to consume unwanted interfaces. ** Benefits of Interface Segregation Principle ** 1. Interface Segregation principle ensures small, focused, and highly cohesive software components. 2. Interface Segregation Principle is easy to understand and simple to follow. 3. Interface Segregation principle helps in reducing the size of interfaces 4. Interface Segregation principle splits bigger interface in to smaller dedicated interfaces. ** Topics Covered ** 1. Introduction of Interface Segregation Principle 2. Real world example of Interface Segregation Principle 3. Java code implementation of Interface Segregation Principle 4. Usage of Interface Segregation Principle 5. Advantage of Interface Segregation Principle 6. Summary of Interface Segregation Principle 7. Next Video on Dependency Inversion Principle #solidprinciples #interfacesegregation #interfacesegregationprinciple ** GIT Repository ** CodeOneDigest Solid Principles Example https://github.com/codeonedigest/solidprinciples ** CHECK OUT OUR OTHER VIDEOS ** Spring boot project setup: /watch/sxKJe02AgsbAJ Spring Boot Microservice with postgres database Project: /watch/05bEg9Ow4wiwE Prepare Docker file, Container and Build Image: /watch/osunjzTdp_gdn Deploy Docker Image AWS Elastic Container Service: /watch/wzZwuno5RlZ5w Solid Principle Tutorial /watch/EewXfBrZ4d7ZX ** CHECK OUR PLAYLISTS ** Java Design Pattern Complete Tutorial /playlist/PL2NZAYdLkYvglL0xl-4tgBAribrcjeuNH Spring Boot Complete Tutorial /playlist/PL2NZAYdLkYvg_VlNmszrb-Um0wRx5yGDF Docker Containers Complete Tutorial /playlist/PL2NZAYdLkYvhZQo2VTVCSug_zVjekNodi Solid Principles and Object-Oriented Programming Concept and Design /playlist/PL2NZAYdLkYvgB_35bYUnqP1p6v6P2Yb4- ** Acronyms ** OOP – Object Oriented Programming Languages SRP – Single Responsibility Principle OCP – Open Closed Principle LSP – Liskov Substitution Principle ISP – Interface Segregation Principle DIP – Dependency Inversion Principle COD – Code One Digest ** ABOUT OUR CHANNEL ** CodeOneDigest is a youtube channel that produces videos on programming languages, cloud and container technologies, Software design principles, Java frameworks in English and Hindi languages. Dosto, CodeOneDigest youtube channel pe aapko programming languages, container technology, cloud computing, software engineering se related videos milenge. Check out our channel here: /channel/UC9V0QYsWKz_OD2uooCtEtRg Don’t forget to subscribe! ** OUR WEBSITE ** https://codeonedigest.wordpress.com/ ** GET IN TOUCH ** Email us on codeonedigest@gmail.com FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE Get updates or reach out to Get updates on our Social Media Profiles! Subscribe: https://bit.ly/3NeWQ8U Youtube: /channel/UC9V0QYsWKz_OD2uooCtEtRg Twitter: https://twitter.com/codeonedigest Facebook: https://www.facebook.com/codeonedigest Instagram: https://www.instagram.com/codeonedigest/ Linkedin: https://www.linkedin.com/in/codeone-digest-10b418255/ Reddit: https://www.reddit.com/user/codeonedigest Github: https://github.com/codeonedigest Website: https://codeonedigest.wordpress.com/ Tumblr: https://www.tumblr.com/codeonedigest Pinterest: https://in.pinterest.com/codeonedigest/

Category

Show more

Comments - 1