Introduction to Object Oriented Programming, 3rd Ed

Timothy A. Budd

Chapter 23

Object interconnections

Outline

  1. Roadmap
  2. Connections -- The Bane of Large Scale Programming
  3. Visibility
  4. Dependency
  5. Coupling and Cohesion
    1. Varieties of Coupling
      1. Internal Data Coupling
      2. Global Data Coupling
      3. Control, or Sequence Coupling
      4. Component Coupling
      5. Parameter Coupling
      6. Subclass Coupling
    2. Varieties of Cohesion
  6. Limiting Coupling - the Law of Demeter
    1. Rewritten in Terms of Messages
    2. What is Rules Out
  7. Class-Level versus Object-Level Visibility
  8. Active Values
  9. Public, Subclass ans Private Faces
  10. Control of Visibility
    1. Friends in C++
    2. Inner classes
    3. Private Inheritance in C++
    4. name Spaces, Packages or Units
  11. Intentional Dependency
  12. Chapter Summary

Other Material

Intro OOP, Chapter 23, Outline