SOLID Design Principles - Interface Segregation Principle #shorts

preview_player
Показать описание
Interface segregation Principle
#shortsfeed
#shorts
#short
SOLID Design Principles

Interface segregation Principle states that interfaces that you design should be small and focused. It should only contain methods that your clients need and not contain unnecessary methods.
For example if you have a machine interface with methods for printing, scanning , copying and faxing. If you apply Interface segregation principle you create smaller interfaces like printable with print method , scannable with scan method, so your clienrs can choose what they need and use only those methods and interfaces.

Subscribe Channel:
Рекомендации по теме