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 revision | ||
principles:encapsulate_the_concept_that_varies [2013-03-18 09:44] – external edit 127.0.0.1 | principles:encapsulate_the_concept_that_varies [2021-10-18 21:31] (current) – +++ restored +++ christian | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Context ===== | ===== Context ===== | ||
/* fill in contexts here: */ | /* fill in contexts here: */ | ||
- | * [[contexts: | + | * [[contexts: |
+ | * [[contexts: | ||
+ | * [[contexts: | ||
===== Principle Statement ===== | ===== Principle Statement ===== | ||
Line 54: | Line 55: | ||
===== Origin ===== | ===== Origin ===== | ||
+ | |||
+ | The principle is stated, explained and used in the GoF book: | ||
Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides: // | Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides: // | ||
+ | |||
+ | But the idea if ECV is actually much older. It was first presented in | ||
+ | |||
+ | David Parnas: // | ||
+ | |||
===== Evidence ===== | ===== Evidence ===== | ||
Line 78: | Line 86: | ||
* **[[More Is More Complex]] (MIMC)**: ECV demands adding a new class for a new varying concept. | * **[[More Is More Complex]] (MIMC)**: ECV demands adding a new class for a new varying concept. | ||
- | * [[Model Principle]] (MP): ECV sometimes results in classes which do not correspond | + | * [[Model Principle]] (MP): ECV sometimes results in classes which do not correspond |
==== Complementary Principles ==== | ==== Complementary Principles ==== | ||
Line 107: | Line 115: | ||
* [[Single Responsibility Principle]] | * [[Single Responsibility Principle]] | ||
* [[Open-Closed Principle]] | * [[Open-Closed Principle]] | ||
+ | |||
+ | ===== Discussion ===== | ||
+ | |||
+ | Discuss this wiki article and the principle on the corresponding [[talk: | ||
principles/encapsulate_the_concept_that_varies.1363596278.txt.gz · Last modified: 2013-05-20 12:46 (external edit)