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

Intentional Dependency

Sometimes want code to depend upon another class.

Sometimes want this even if the dependee doesn't know the dependant. (example, a model and its display).

Can be managed by having a separate ``dependancy manager''. When an object changes, it tells the manager ``notify my depedants''.

Intro OOP, Chapter 17, Slide 14