principles:encapsulate_the_concept_that_varies
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
principles:encapsulate_the_concept_that_varies [2013-01-24 12:46] – external edit 127.0.0.1 | principles:encapsulate_the_concept_that_varies [2021-09-02 19:36] – old revision restored (2021-05-11 21:52) 65.21.179.175 | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Variants and Alternative Names ===== | ===== Variants and Alternative Names ===== | ||
- | |||
- | * Open-Closed Principle | ||
===== Context ===== | ===== Context ===== | ||
Line 11: | Line 9: | ||
===== Principle Statement ===== | ===== Principle Statement ===== | ||
+ | |||
+ | Encapsulate the Concept that Varies, i.e. a design is better when those parts that vary are encapsulated in a separate module. | ||
Line 38: | Line 38: | ||
==== Generalizations ==== | ==== Generalizations ==== | ||
- | * [[principles:Generalization Principle]] | + | * [[Generalization Principle]] |
+ | * [[Open-Closed Principle]] | ||
==== Specializations ==== | ==== Specializations ==== | ||
+ | |||
+ | * [[Single Responsibility Principle]] (SRP): | ||
==== Contrary Principles ==== | ==== Contrary Principles ==== | ||
- | * [[principles:More Is More Complex]] | + | * [[More Is More Complex]] |
- | * [[principles:Model Principle]] | + | * [[Model Principle]] |
==== Complementary Principles ==== | ==== Complementary Principles ==== | ||
- | * [[principles:Dependency Inversion Principle]] | + | * [[Dependency Inversion Principle]] |
==== Principle Collections ==== | ==== Principle Collections ==== |
principles/encapsulate_the_concept_that_varies.txt · Last modified: 2021-10-18 21:31 by christian