ThesaHelp: references g-h
Topic: information hiding
Topic: design for change
Topic: declarative vs. procedural representation
Topic: object-oriented design
Topic: object-oriented procedures
| |
Reference
Hunt, A., Thomas, D.,
"The art of enbugging",
IEEE Software, January/February 2003, pp. 10-11.
Google
Quotations
10 ;;Quote: do not query an object, make a decision, and perform an action (procedural, bug prone)
| 10+;;Quote: tell objects what needs to be done, keep decisions inside objects (object-oriented, encapsulated)
| 11 ;;Quote: categorize methods/functions as command or query; freely use queries while commands hide information
| 11 ;;Quote: avoid talking to more objects than necessary; protects against change; e.g., Law of Demeter
| 11+;;Quote: Law of Demeter prohibits calls to returned objects; leads to many small wrapper functions
|
Related Topics
ThesaHelp: references g-h (299 items)
Topic: information hiding (50 items)
Topic: design for change (75 items)
Topic: declarative vs. procedural representation (53 items)
Topic: object-oriented design (29 items)
Topic: object-oriented procedures (41 items)
|