by
Lessons:24Length:2.4 hours
  • Overview
  • Transcript

3.9 Hide Delegate

This pattern can be somewhat more of a conceptual kind, as it intends to solve the correct dependencies for a particular class. It’s up to you to judge how you want to establish dependencies between your classes; the important factor (as always) is factor of change.

In this lesson, we discuss a design problem and solve the smell with delegation.