Introduction to Object Oriented Programming, 3rd Ed
Chapter 23
Object interconnections
Outline
- Roadmap
- Connections -- The Bane of Large Scale Programming
- Visibility
- Dependency
- Coupling and Cohesion
- Varieties of Coupling
- Internal Data Coupling
- Global Data Coupling
- Control, or Sequence Coupling
- Component Coupling
- Parameter Coupling
- Subclass Coupling
- Varieties of Cohesion
- Limiting Coupling - the Law of Demeter
- Rewritten in Terms of Messages
- What is Rules Out
- Class-Level versus Object-Level Visibility
- Active Values
- Public, Subclass ans Private Faces
- Control of Visibility
- Friends in C++
- Inner classes
- Private Inheritance in C++
- name Spaces, Packages or Units
- Intentional Dependency
- Chapter Summary
Other Material