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.
1.2 Illustrator多文檔的幾種排列方式
2.
5.16--java數據類型轉換及雜記
3.
性能指標
4.
(1.2)工廠模式之工廠方法模式
5.
Java記錄 -42- Java Collection
6.
Java記錄 -42- Java Collection
7.
github使用
8.
Android學習筆記(五十):聲明、請求和檢查許可
9.
20180626
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
>>更多相關文章<<