principles:encapsulate_the_concept_that_varies
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
principles:encapsulate_the_concept_that_varies [2020-10-12 16:09] – old revision restored (2013-03-18 09:44) 159.69.186.191 | principles:encapsulate_the_concept_that_varies [2020-10-12 16:09] – old revision restored (2013-02-11 20:50) 159.69.186.191 | ||
---|---|---|---|
Line 47: | Line 47: | ||
* Visitor: New operations have to be added to a given more or less static inheritance structure of classes. | * Visitor: New operations have to be added to a given more or less static inheritance structure of classes. | ||
* ... | * ... | ||
- | |||
- | ===== Caveats ===== | ||
- | |||
- | See section [[#contrary principles]]. | ||
- | |||
===== Origin ===== | ===== Origin ===== | ||
Line 92: | Line 87: | ||
- | ===== Examples | + | ===== Example |
Line 107: | Line 102: | ||
* [[Single Responsibility Principle]] | * [[Single Responsibility Principle]] | ||
* [[Open-Closed Principle]] | * [[Open-Closed Principle]] | ||
- |
principles/encapsulate_the_concept_that_varies.txt · Last modified: 2021-10-18 21:31 by christian