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 revisionLast revisionBoth sides next revision | ||
principles:tell_don_t_ask_information_expert [2020-10-12 16:39] – old revision restored (2014-10-09 12:27) 159.69.186.191 | principles:tell_don_t_ask_information_expert [2021-10-18 21:42] – old revision restored (2016-08-16 20:37) christian | ||
---|---|---|---|
Line 41: | Line 41: | ||
When this principle is not adhered to, then a module has a responsibility for which it is lacking some information. So in order to fulfill the task the module has to first acquire the needed information by invoking other modules. This increases the dependencies between the modules (which may lead to [[glossary: | When this principle is not adhered to, then a module has a responsibility for which it is lacking some information. So in order to fulfill the task the module has to first acquire the needed information by invoking other modules. This increases the dependencies between the modules (which may lead to [[glossary: | ||
+ | Furthermore adhering to this principle distributes responsibilities among several classes instead of having one central [[anti-patterns: | ||
===== Strategies ===== | ===== Strategies ===== | ||
Line 65: | Line 65: | ||
/* * [[wiki: | /* * [[wiki: | ||
- | [[wiki: | + | [[wiki: |
/* * [[wiki: | /* * [[wiki: |
principles/tell_don_t_ask_information_expert.txt · Last modified: 2021-10-18 21:42 by christian