a.High-level modules should not depend on low-level modules.Both should depend on abstractions.
b.Abstractions should not depend on details.Detils should depend on abstractions.
转载于:https://www.cnblogs.com/nanshouyong326/archive/2007/02/05/640532.html