principles:open-closed_principle
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:open-closed_principle [2020-10-12 12:37] – old revision restored (2013-05-19 22:09) 159.69.186.191 | principles:open-closed_principle [2020-10-12 12:37] – old revision restored (2013-01-30 15:04) 159.69.186.191 | ||
---|---|---|---|
Line 21: | Line 21: | ||
===== Strategies ===== | ===== Strategies ===== | ||
- | |||
- | |||
- | ===== Caveats ===== | ||
- | |||
- | Beware that wrong application of OCP may lead to the anti-pattern [[anti-patterns: | ||
- | |||
- | See also section [[#contrary principles]]. | ||
Line 67: | Line 60: | ||
{{page> | {{page> | ||
- | ===== Examples | + | ===== Example |
Line 80: | Line 73: | ||
* Robert C. Martin: //Agile Software Development, | * Robert C. Martin: //Agile Software Development, | ||
* [[http:// | * [[http:// | ||
- |
principles/open-closed_principle.txt · Last modified: 2022-03-02 23:55 by tory