# Interface isolation principle **Published by:** [rojeck](https://paragraph.com/@rojeckluo/) **Published on:** 2021-11-21 **URL:** https://paragraph.com/@rojeckluo/interface-isolation-principle ## Content The interface segregation principle (Interface Segregation Principle, ISP) defines that the client should not rely on interfaces it does not need, and the dependency between classes should be established on the smallest interface. Simply put, it is to establish a single interface, not to create a bloated interface. That is, the interface is as detailed as possible, and the methods in the interface are as few as possible. ## Publication Information - [rojeck](https://paragraph.com/@rojeckluo/): Publication homepage - [All Posts](https://paragraph.com/@rojeckluo/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@rojeckluo): Subscribe to updates - [Twitter](https://twitter.com/rojeckluo): Follow on Twitter