Recent twitter entries...

  •  

Object Oriented Programming: Law of Demeter

Posted by David | Posted in Software Development | Posted on 11-11-2009

0

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]

No related posts.

Write a comment