[first slide]
Introduction to Object Oriented Programming
Chapter 17
Visibility and Dependency
Outline
- Connections - The Bane of Large Scale Programming
- Visibility
- Dependency
- Coupling and Cohesion
- Varieties of Coupling
- Varieties of Cohesion
- Limiting Coupling - the Law of Demeter
- Rewritten in terms of messages
- What is ruled out
- Class-Level versus Object-Level Visibility
- Active Values
- Public, Subclass and Private Faces
- Intentional Dependency
Other Material