why do we violate law of demeter?

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

November 2008
M T W T F S S
« Oct   Dec »
 12
3456789
10111213141516
17181920212223
24252627282930

Past Posts

Java/Java EE

JDBC

Other

Archive for November 15th, 2008

why do we violate law of demeter?

November 15th, 2008 by Jeanne Boyarsky

I 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 […]