Site Tools


code_laws

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
code_laws [2014/07/09 02:49]
conovaloff
code_laws [2014/07/09 03:02] (current)
conovaloff
Line 22: Line 22:
 http://​ru.wikibooks.org/​wiki/​%D0%9D%D0%B5%D1%81%D0%B2%D1%8F%D0%B7%D0%BD%D0%BE%D1%81%D1%82%D1%8C_%D0%B8_%D0%B7%D0%B0%D0%BA%D0%BE%D0%BD_%D0%94%D0%B5%D0%BC%D0%B5%D1%82%D1%80%D0%B0 http://​ru.wikibooks.org/​wiki/​%D0%9D%D0%B5%D1%81%D0%B2%D1%8F%D0%B7%D0%BD%D0%BE%D1%81%D1%82%D1%8C_%D0%B8_%D0%B7%D0%B0%D0%BA%D0%BE%D0%BD_%D0%94%D0%B5%D0%BC%D0%B5%D1%82%D1%80%D0%B0
  
- +===== Single Responsibility Principle (SRP) ===== 
-===== принципом инверсии зависимостей ​=====+===== Open/Closed Principle (OCP) ===== 
 +===== Liskov substitution principle (LSP) ===== 
 +===== Interface Segregation Principle (ISP) ===== 
 +===== Dependency Inversion Principle (DIP) ===== 
 +===== Hollywood Principle ===== 
 +===== Don’t Repeat Yourself (DRY) ===== 
 +<​code>​ 
 +Encapsulation and Information Hiding 
 +Separation of Concerns (SoC) 
 +High Cohesion 
 +Low/Loose coupling 
 +Convention over Configuration (CoC) 
 +Command-query separation (CQS) 
 +Design by Contract (DbC) 
 +Dependency Injection (DI) 
 +Inversion of Control (IoC) 
 +Avoid Fragile Baseclass 
 +Has-a Is-a 
 +What is Identity 
 +Interchangeability 
 +Option-operand separation 
 +Intention Revealing Names 
 +Zero Friction Development 
 +Encapsulate Variation 
 +Composition over inheritance 
 +Common Closure Principle 
 +Classes that change together must be placed in the same package. 
 +Program to an interface, not an implementation 
 +You Ain’t Gonna Need It (YAGNI) 
 +Keep It Simple, Stupid (KISS) 
 +</​code>​
code_laws.txt · Last modified: 2014/07/09 03:02 by conovaloff

Page Tools