Archive for November 15th, 2008
why do we violate law of demeter?
November 15th, 2008 by Jeanne BoyarskyI was watching a Google Tech Talk on Dependency Injection. Sixteen minutes in the speaker gave an interesting example of the Law of Demeter: If buying item for $25 in store, do you hand clerk $25 or give clerk your wallet and have him/her retrieve the $25.
This got me thinking about why we so frequently [...]
Categories: Development Process.
Comments: none
