Skip to content

Glossary: Software Design Patterns in Java

Interface segregation principle (ISP)

Also written: ISP, interface segregation

The SOLID rule that code shouldn't depend on methods it doesn't use, so keep interfaces small. `Quoter` and `Tracker` are separate.

Where the book teaches it

Related terms

SOLIDInterface