Cpp Coding Standards/DESIGN/CyclDep
From Apache OpenOffice Wiki
< Cpp Coding Standards | DESIGN(Redirected from Cpp Coding Standards/Design/CyclDep)
Avoid unnecessary dependencies (because they increase coupling, and thus (re)compile time). Cyclic dependencies are even worse: they glue two (or more) seemingly unrelated units together, into something larger, whose parts cannot be used (or tested, or deployed) in isolation.
Use the Dependency Inversion Principle to break cyclic dependencies.