# Specification of the interface isolation principle **Published by:** [rojeck](https://paragraph.com/@rojeckluo/) **Published on:** 2021-11-24 **URL:** https://paragraph.com/@rojeckluo/specification-of-the-interface-isolation-principle ## Content Before using the interface isolation principle, you must first meet the single responsibility principle. Interfaces need to be highly cohesive, that is, to improve the processing capabilities of interfaces, classes, and modules, and less public methods are released. Customized services provide only the methods that visitors need. Interface design is limited. The smaller the granularity of the interface design, the more flexible the system, but it should not be too small, otherwise it will become "bytecode programming". ## 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