Glossary: Software Design Patterns in JavaScript
Interface segregation principle (ISP)
Also written: ISP, interface segregation
The I of SOLID: code shouldn't depend on methods it doesn't use, so keep interfaces small. A carrier only needs quote, not track and refund.