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

9. The Acyclic Dependencies Principle

Matthias Noback1 
(1)
Zeist, The Netherlands
 

As I explained in the introduction to the package design principles, all programmers develop a sense of “belonging together”. But next to this intuition with regard to cohesion, programmers also have a nose for coupling. Looking at a piece of code, they will be able to figure out what it is coupled to. As their careers progress, they will develop an ever stronger “coupling radar” by figuring out the actual dependencies of any piece of code.

Coupling: Discovering Dependencies

Looking at some code, you can ask yourself, on which other things does this code rely ...

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.