principles:tell_don_t_ask_information_expert
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:tell_don_t_ask_information_expert [2013-02-25 14:14] – [Strategies] christian | principles:tell_don_t_ask_information_expert [2013-06-22 20:38] – christian | ||
---|---|---|---|
Line 15: | Line 15: | ||
===== Principle Statement ===== | ===== Principle Statement ===== | ||
- | Assign a responsibility to this [[glossary: | + | * Assign a responsibility to that [[glossary: |
+ | * Don't ask an object for information, | ||
===== Description ===== | ===== Description ===== | ||
Line 47: | Line 47: | ||
===== Evidence ===== | ===== Evidence ===== | ||
/* Comment out what is not applicable and explain the rest: */ | /* Comment out what is not applicable and explain the rest: */ | ||
- | /* | + | |
- | * [[wiki: | + | /* * [[wiki: |
- | * [[wiki: | + | /* * [[wiki: |
- | | + | |
- | * [[wiki: | + | [[wiki: |
- | */ | + | |
+ | /* * [[wiki: | ||
===== Relations to Other Principles ===== | ===== Relations to Other Principles ===== | ||
Line 70: | Line 72: | ||
* [[Model Principle]] (MP): TdA/IE tells how to distribute functionality among the natural classes which are created according to the Model Principle. | * [[Model Principle]] (MP): TdA/IE tells how to distribute functionality among the natural classes which are created according to the Model Principle. | ||
* [[Information Hiding/ | * [[Information Hiding/ | ||
+ | * [[Principle of Separate Understandability]] (PSU): TdA/IE is about responsibility assignment. Another aspect of this task is treated by PSU. | ||
==== Principle Collections ==== | ==== Principle Collections ==== | ||
Line 77: | Line 80: | ||
- | ===== Example | + | ===== Examples |
===== Description Status ===== | ===== Description Status ===== | ||
/* Choose one of the following and comment out the rest: */ | /* Choose one of the following and comment out the rest: */ | ||
- | [[wiki: | + | /*[[wiki: |
- | /*[[wiki: | + | [[wiki: |
/ | / | ||
Line 92: | Line 95: | ||
* Andrew Hunt and David Thomas: // | * Andrew Hunt and David Thomas: // | ||
+ | ===== Discussion ===== | ||
+ | |||
+ | Discuss this wiki article and the principle on the corresponding [[talk: |
principles/tell_don_t_ask_information_expert.txt · Last modified: 2021-10-18 21:42 by christian