Skip to content

Interface Segregation Principle Common smells and Related Design Patterns

TipsΒΆ

  • General algorithm of "fixing" fat interfaces
    • Create narrower interface
    • Fat interface inherits from that narrow interface
    • Client uses the narrow interface
  • Don't abuse ISP by creating tons of small interfaces