principles:murphy_s_law
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:murphy_s_law [2020-10-12 12:40] – old revision restored (2013-05-19 22:09) 159.69.186.191 | principles:murphy_s_law [2020-10-12 12:41] – old revision restored (2013-03-19 16:58) 159.69.186.191 | ||
---|---|---|---|
Line 34: | Line 34: | ||
This means the fewer possibilities there are that a mistake is made, the fewer there will be. As mistakes are generally undesirable, | This means the fewer possibilities there are that a mistake is made, the fewer there will be. As mistakes are generally undesirable, | ||
- | Note that ML does //not// claim that everything constantly fails unless there is no possibility to do so. It simply says that statistically in the long run a system will fail if it can. | + | |
===== Strategies ===== | ===== Strategies ===== | ||
Line 46: | Line 46: | ||
* Use the same mechanisms wherever reasonably possible (see [[Uniformity Principle|UP]]) | * Use the same mechanisms wherever reasonably possible (see [[Uniformity Principle|UP]]) | ||
* Use consistent naming and models throughout the design (see [[Model Principle|MP]]) | * Use consistent naming and models throughout the design (see [[Model Principle|MP]]) | ||
- | * Avoid Preconditions and Invariants (see [[Invariant Avoidance Principle|IAP]]) | + | * Avoid Preconditions and Invariants (see [[Invariant Avoidance Principle]]) |
- | * Use assertions to detect problems early. | + | |
* ... | * ... | ||
Line 70: | Line 69: | ||
/* * [[wiki: | /* * [[wiki: | ||
- | Furthermore every defect in any system is a manifestation of ML. If there is a fault then obviously something went wrong. The correlation between the number of possibilities for introducing defects and the actual defect count can be regarded trivially intuitive. | + | |
===== Relations to Other Principles ===== | ===== Relations to Other Principles ===== | ||
principles/murphy_s_law.txt · Last modified: 2021-10-20 21:18 by christian