Avoiding circular dependencies

Circular dependencies are problematic. To understand why, consider the following example.

Let's say we have five packages (A, B, C, D, and E) with the following dependencies:

  • A depends on B and C
  • C depends on D and E
  • E depends on A

To illustrate these graphically, we can create a diagram where we can use an arrow notation to indicate dependencies between components. The direction of the arrow indicates the direction of the dependency.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.236.174