Skip to content

Glossary: Software Design Patterns in C++

Interface segregation principle

Also written: ISP

The I in SOLID: code shouldn't depend on functions it doesn't use. Keep interfaces small, such as a separate `Quoter` and `Tracker`, so a quote-only carrier needs no fake `track`.

Where the book teaches it

Related terms

SOLIDInterface