© Matthias Noback 2018
Matthias NobackPrinciples of Package Designhttps://doi.org/10.1007/978-1-4842-4119-6_10

10. The Stable Dependencies Principle

Matthias Noback1 
(1)
Zeist, The Netherlands
 

In the previous chapter, we discussed the Acyclic Dependencies principle , which helps us prevent cycles in our dependency graphs. The greatest danger of cyclic dependencies is that problems in one of your dependencies might backfire after they have travelled the entire cycle through the dependency graph.

Even when your dependency graph has no cycles, there’s still a chance that dependencies of a package will start causing problems at any time in the future. Whenever you upgrade one of your project’s dependencies, you hope that your project will still work as ...

Get Principles of Package Design: Creating Reusable Software Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.