principles:uniformity_principle
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
principles:uniformity_principle [2025-08-31 01:09] – created andymatney560 | principles:uniformity_principle [2025-08-31 14:13] (current) – old revision restored (2021-10-18 22:00) christian | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | An online casino bonus is among the most the best things for any person to get at an online casino. This are a few things that are used as a reward for an individual who wants to play at an casino. Products something prevented give a person plenty of free money to work with at one of these places. | + | ====== Uniformity Principle (UP) ====== |
- | Everyone knows the song "Smoke By the Water" | + | ===== Variants |
- | Jackpot: An online casino game presents you 100 dollars for play and a limitless amount of cash in your pocket. A typical slots sports. The goal is to get the most money. A person' | ||
- | Another important point a complicated gambler does is unique a fixed sum of cash to play at the casinos. If that sum is gone, he is doing not even blink the watch and shrug his shoulder to play another time frame. The aim end up being indifferent to your losses isn't about acting cool, but to maintain your emotions from increasing. If you let your feelings eat you, you will definitely ruin yourself as all your other worries will keep telling you "one last time". | + | ===== Context ===== |
+ | /* fill in contexts here: */ | ||
+ | * [[contexts: | ||
+ | * [[contexts: | ||
+ | * [[contexts: | ||
+ | * [[contexts: | ||
+ | * [[contexts: | ||
+ | * [[contexts: | ||
- | The at the side of go in the list is the River belle online casino, making sure that tend to be left the actual best sensation gaming ?????? bj88 in the wagers you just can hardly manage to miss out. One more reason they give you to make note of coming to be able to the website is these people provide extremely lavish incentives and amount of payday loans of games that they give you to decide from is usually as good as 125. | + | ===== Principle Statement ===== |
- | Many states are scrambling to start new gambling forms. In a number states | + | Solve similar problems in the same way. |
- | Now, playing online pokies at the online casino of one's choice takes no planning whatsoever. If you've got several minutes to kill before your favorite show occurs - enjoy online pokies. You're watching for your wife to ?????? [[https:// | ||
- | Videopoker was the second Bj88 game for the testing. The game was the standard "Jack or better" | + | ===== Description ===== |
- | The online casino bonus if you have a person should expect is a wonderful thing to discover. This bonus will allow a person to get free money just for adding money to one's casino scenario. Be sure to look on how different casinos can work with different standards for every single piece of their casino bonuses. Not every bonus plans are gonna be be exact same. | + | Software design comprises many similar tasks. There are plenty of design decisions that are similar |
- | One of the most important factors | + | Striving for consistency and always using the same solutions also means that it can be a good idea to apply a " |
- | So then, you've joined | + | For documentation UP means to have a consistent documentation structure such that a certain piece of information can be found easily. Furthermore uniformity in naming schemes is especially important for documentation. When referring to the same concept the same word has to be used. Synonyms are a source of misunderstanding. |
+ | |||
+ | |||
+ | ===== Rationale ===== | ||
+ | |||
+ | Following UP reduces the number of different solutions. There are fewer concepts to learn, fewer problems to solve and fewer kinds of defects that can occur. | ||
+ | |||
+ | Documentation which follows a fixed structure helps you find a certain piece of information faster because as soon as you have understood the structure you know where to look. | ||
+ | |||
+ | |||
+ | ===== Strategies ===== | ||
+ | |||
+ | * Use the same naming scheme everywhere | ||
+ | * Use the same techniques, mechanisms, libraries, and frameworks everywhere | ||
+ | * In similar methods use the same order of parameters | ||
+ | |||
+ | |||
+ | ===== Caveats ===== | ||
+ | |||
+ | UP demands solving similar problems in the //same way// and not just in a similar way. This is crucial as subtle differences can be dangerous. These small differences are created easily. Sometimes it is impossible to do two things exactly the same way. And also over time two modules may slowly diverge. So it is sometimes better to have two modules work completely differently than to allow for these subtle differences as they easily lead to misconceptions and mistakes (see [[Murphy's Law|ML]]). | ||
+ | |||
+ | See also section [[#contrary principles]]. | ||
+ | |||
+ | |||
+ | ===== Origin ===== | ||
+ | |||
+ | This principle is newly proposed here. Nevertheless the idea is not new and should be pretty intuitive to every developer. | ||
+ | |||
+ | |||
+ | ===== Evidence ===== | ||
+ | /* Comment out what is not applicable and explain the rest: */ | ||
+ | * [[wiki: | ||
+ | |||
+ | /* * [[wiki: | ||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
+ | */ | ||
+ | |||
+ | ===== Relations to Other Principles ===== | ||
+ | |||
+ | ==== Generalizations ==== | ||
+ | |||
+ | * [[Murphy' | ||
+ | |||
+ | ==== Specializations ==== | ||
+ | |||
+ | ==== Contrary Principles ==== | ||
+ | |||
+ | Note that UP can be contrary to virtually every other principle as it demands neglecting other principles in favor of uniformity. | ||
+ | |||
+ | * [[Keep It Simple Stupid]] (KISS): Although UP normally reduces complexity, 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. | ||
+ | * [[More Is More Complex]] (MIMC): Documenting something because of UP may result in unnecessary documentation. There may be more concise ways of documentation. | ||
+ | * [[Model Principle]] (MP): UP may demand adhering to a certain naming scheme, which may not be best with respect to MP. See [[#example 1: naming schemes]]. | ||
+ | |||
+ | ==== Complementary Principles ==== | ||
+ | |||
+ | * [[Principle of Least Surprise]] (PLS): When applying UP, PLS should also be considered for naming modules. See [[#example 1: naming schemes]]. | ||
+ | |||
+ | |||
+ | |||
+ | ==== Principle Collections ==== | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | ==== Example 1: Naming Schemes ==== | ||
+ | |||
+ | A typical example of the application of UP is the naming of method identifiers for common container classes like [[glossary: | ||
+ | |||
+ | Stacks typically have the methods '' | ||
+ | |||
+ | Queues on the other hand typically have the methods | ||
+ | |||
+ | A third possibility is to find a common abstraction and to apply a very general naming scheme to all descendant classes (stack classes, queue classes and others). This is the way it is done in Eiffel((see Bertrand Meyer: // | ||
+ | |||
+ | ==== Example 2: This Wiki ==== | ||
+ | |||
+ | This wiki has a certain structure which is uniform across all principles. Each principle description has the same sections with the same kind of information. This makes looking up principles much easier because one can directly jump to those sections containing the needed information. To mitigate the problem of unnecessary documentation (i.e. MIMC violations) sections without additional information are left blank instead of describing something obvious. | ||
+ | |||
+ | |||
+ | ===== Description Status ===== | ||
+ | /* Choose one of the following and comment out the rest: */ | ||
+ | / | ||
+ | [[wiki: | ||
+ | / | ||
+ | |||
+ | ===== Further Reading ===== | ||
+ | |||
+ | ===== Discussion ===== | ||
+ | |||
+ | Discuss this wiki article and the principle on the corresponding [[talk: | ||
- | By trustworthy, |
principles/uniformity_principle.1756595367.txt.gz · Last modified: by andymatney560