ur-ban.com has an article describing in details the Law of Demeter. The law states that a method M of and object O may only invoke the methods of the following kind:1. a method on O itself 2. any parameters passed to M 3. any objects instantiated within M 4. any direct components of O

[ via ur-ban.com]

Comment