JavaShuo
欄目
標籤
Design Principle - Interface Segregation Principle
時間 2021-01-03
標籤
Design Principle
简体版
原文
原文鏈接
Definition Interface Segregation Principle,即接口隔離原則。用多個專門的接口,而不是使用單一的總接口,客戶端不應該依賴它不需要的接口。 一個類對另一個類的依賴應該建立在最小的接口上。 建立單一的接口,而不是接口龐大臃腫的接口。 儘可能細化接口,接口中的方法儘可能少。 注意適度原則。 Advantage 提高了可讀性。 提高了拓展性。 提高了可維護性。 Co
>>阅读原文<<
相關文章
1.
Design Principle - Simple Responsibility Principle
2.
接口分離原則(Interface Segregation Principle)
3.
接口隔離原則(Interface Segregation Principle)
4.
Design Principle, Design Patterns And Refactoring
5.
設計模式 接口隔離原則(Interface Segregation Principle)
6.
六大設計原則-接口隔離原則【Interface Segregation Principle】
7.
[Arch] 02. Design principle and Software Pattern
8.
Java設計模式 七大原則(四) 接口分離原則(Interface Segregation Principle)
9.
Interface Isolation Principle(接口隔離原則)
10.
Compiler Principle
更多相關文章...
•
C# 接口(Interface)
-
C#教程
•
Kotlin 接口
-
Kotlin 教程
•
委託模式
•
Java Agent入門實戰(一)-Instrumentation介紹與使用
相關標籤/搜索
principle
interface
design
c#interface
objc@interface
design+ijkplayer
webgame+design
history&design
design+echarts
Ant Design Pro
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
IDEA 2019.2解讀:性能更好,體驗更優!
2.
使用雲效搭建前端代碼倉庫管理,構建與部署
3.
Windows本地SVN服務器創建用戶和版本庫使用
4.
Sqli-labs-Less-46(筆記)
5.
Docker真正的入門
6.
vue面試知識點
7.
改變jre目錄之後要做的修改
8.
2019.2.23VScode的c++配置詳細方法
9.
從零開始OpenCV遇到的問題一
10.
創建動畫剪輯
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Design Principle - Simple Responsibility Principle
2.
接口分離原則(Interface Segregation Principle)
3.
接口隔離原則(Interface Segregation Principle)
4.
Design Principle, Design Patterns And Refactoring
5.
設計模式 接口隔離原則(Interface Segregation Principle)
6.
六大設計原則-接口隔離原則【Interface Segregation Principle】
7.
[Arch] 02. Design principle and Software Pattern
8.
Java設計模式 七大原則(四) 接口分離原則(Interface Segregation Principle)
9.
Interface Isolation Principle(接口隔離原則)
10.
Compiler Principle
>>更多相關文章<<