Introduction to OOP Chapter 23: Object Interconnections : next previous audio real text

Rewritten in terms of messages

Law of Demeter (weak form). Inside a method, it is only permitted to access or send messages to the following objects:

1.
The arguments associated with the method being executed (including the self object).

2.
Instance variables for the receiver of the method.

3.
Global variables.

4.
Temporary variables created inside the method.
Intro OOP, Chapter 23, Slide 15

The strong form eliminates global variables and inherited data fields.