principles:uniformity_principle
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
principles:uniformity_principle [2013-01-15 15:13] – created christian | principles:uniformity_principle [2021-09-02 20:49] – old revision restored (2021-05-12 02:44) 65.21.179.175 | ||
---|---|---|---|
Line 19: | Line 19: | ||
===== Strategies ===== | ===== Strategies ===== | ||
+ | |||
+ | * Use the same naming scheme everywhere | ||
+ | * Use the same techniques and mechanisms everywhere | ||
+ | * In similar methods use the same order of parameters | ||
+ | ===== Caveats ===== | ||
+ | |||
+ | See section [[#contrary principles]]. | ||
Line 36: | Line 43: | ||
==== Generalizations ==== | ==== Generalizations ==== | ||
+ | |||
+ | * [[Easy to Use and Hard to Misuse]] (EUHM): Uniform interfaces are easier to use than others. | ||
==== Specializations ==== | ==== Specializations ==== | ||
Line 41: | Line 50: | ||
==== Contrary Principles ==== | ==== Contrary Principles ==== | ||
- | * [[principles:More Is More Complex]] | + | * [[Keep It Simple Stupid]] (KISS): Sometimes UP demands more complex solutions because they are already applied elsewhere and for the sake of uniformity shall also be applied in simpler contexts where they would not be necessary. |
+ | * [[Model Principle]] (MP): UP may demand adhering to a certain naming scheme, which may not be best with respect to MP. | ||
==== Complementary Principles ==== | ==== Complementary Principles ==== | ||
- | * [[principles: | + | * [[Principle of Least Surprise]] |
- | * [[principles: | + | |
- | * [[principles: | + | |
==== Principle Collections ==== | ==== Principle Collections ==== |
principles/uniformity_principle.txt · Last modified: 2021-10-18 22:00 by christian