"The Hollywood Principle Don't call us, we'll call you. > The high-level components give the low-level components a "don't call us, we'll call you" treatment. > The Hollywood Principle gives us a way to prevent "dependency rot". (依赖腐败)"
"The connection between the Hollywood Principle and the Template Method Pattern is probably somewhat apparent: when we design with the Template Method Pattern, we're telling subclasses, "don't call us, we'll call you.""