User Tools

Site Tools


principles:tell_don_t_ask_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:tell_don_t_ask_information_expert [2021-09-02 12:51] – old revision restored (2021-05-11 22:31) 65.21.179.175principles:tell_don_t_ask_information_expert [2021-09-02 20:51] – old revision restored (2021-03-28 06:12) 65.21.179.175
Line 70: Line 70:
   * [[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/Encapsulation]] (IH/E): Assigning responsibilities to objects using Information Expert may accidentally break encapsulation. It typically does not but it has to be considered. Furthermore TdA is about not having getter methods returning constituent parts of a module. Encapsulation can be another reason for that.   * [[Information Hiding/Encapsulation]] (IH/E): Assigning responsibilities to objects using Information Expert may accidentally break encapsulation. It typically does not but it has to be considered. Furthermore TdA is about not having getter methods returning constituent parts of a module. Encapsulation can be another reason for that.
 +  * [[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 78:
  
  
-===== Example =====+===== Examples =====
  
  
principles/tell_don_t_ask_information_expert.txt · Last modified: 2021-10-18 21:42 by christian