User Tools

Site Tools


principles:information_expert

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
principles:information_expert [2012-12-22 10:16] – external edit 127.0.0.1principles:information_expert [2020-12-08 13:44] – old revision restored (2012-12-10 14:44) 95.217.118.98
Line 1: Line 1:
-====== Information Expert (IE) ======+====== Information Expert ======
  
 ===== Variants and Alternative Names ===== ===== Variants and Alternative Names =====
  
-  * Expert 
   * Tell Don't Ask   * Tell Don't Ask
   * Do It Myself   * Do It Myself
Line 13: Line 12:
  
  
-===== Principle Statement =====+===== Definition =====
  
 Assign a responsibility to this [[glossary:module]] which has the largest subset of the required information. Assign a responsibility to this [[glossary:module]] which has the largest subset of the required information.
Line 26: Line 25:
  
 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:ripple effects]]). 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:ripple effects]]).
- 
- 
-===== Strategies ===== 
  
  
Line 38: Line 34:
 ===== Evidence ===== ===== Evidence =====
 /* Comment out what is not applicable and explain the rest: */ /* Comment out what is not applicable and explain the rest: */
-/* +[[wiki:Proposed]] 
-  * [[wiki:Proposed]] +[[wiki:Examined]] 
-  [[wiki:Examined]] +[[wiki:Accepted]] 
-  [[wiki:Accepted]] +[[wiki:Questioned]] 
-  [[wiki:Questioned]] +
-*/+
  
 ===== Relations to Other Principles ===== ===== Relations to Other Principles =====
Line 62: Line 57:
 ==== Principle Collections ==== ==== Principle Collections ====
  
-{{page>collections:OOD Principle Language#Box}} 
 {{page>collections:GRASP#Box}} {{page>collections:GRASP#Box}}
  
Line 79: Line 73:
  
   * [[wp>GRASP_(object-oriented_design)#Information_Expert]]   * [[wp>GRASP_(object-oriented_design)#Information_Expert]]
-  * Andrew Hunt and David Thomas: //[[http://www.ccs.neu.edu/research/demeter/related-work/pragmatic-programmer/jan_03_enbug.pdf|The Art of Enbugging]]// 
  
principles/information_expert.txt · Last modified: 2021-10-18 21:25 by christian