Interface Segregation Principle: No Fat Interfaces
TLDR
TLDR: The Interface Segregation Principle (ISP) states that clients should not be forced to depend on methods they don't use. Split large "fat" interfaces into smaller, role-specific ones. A RoboticDuck should not be forced to implement fly() j...
abstractalgorithms.dev12 min read