Introduction to OOP: Chapter 17 : Visibility and Dependency [next] [previous] [audio] [real] [text]

What is ruled out

Basically, what is ruled out by the law of demeter is one object going in and directly manipulating the internal data values of another object.

Instead, all access to data values in another component should be made through procedures - thereby reducing data coupling to the weaker parameter coupling.

Intro OOP, Chapter 17, Slide 10