What you think is what you get

Posts filed under: Design Principle

Inversion Of Control

IoC 是什麼 ? IoC 是一種設計原則,主要的用途是降低物件之間的耦合,特別是在建立物件的耦合關係。 為什......

Law of Demeter (LOD) (迪米特法則)

Law of Demeter (LOD) 定義: 也稱最少知識原則(Principle of Least Kn......

Interface Segregation Principle (ISP) (介面隔離原則)

Interface Segregation Principle (ISP)   定義: 客戶端不應該......

Dependence Inversion Principle (DIP) (相依反向原則)

Dependence Inversion Principle (DIP)   定義: 高層模組不應該......

Liskov Substitution Principle (LSP) (Liskov 替換原則)

Liskov Substitution Principle (LSP)   定義: 衍生類別(Sub......

Open Close Principle (OCP) (開放關閉原則)

Open-Close Principle(OCP)    定義: 軟體實體(Class, Metho......

Single Responsibility Principle (SRP) (單一責任原則)

Single Responsibility Principle (SRP)   定義: 對一個類別而......