i think it's very useful when you design a function.it can minimize coupling between modules.

The Law of Demeter for applications states that any method of an object should call only methods belonging to itself,any parameters that were passed in to the method,any objects it created,any directly held component objects.
posted on 2007-10-14 17:35  IT Person  阅读(213)  评论(0)    收藏  举报