27 Jul
2017
27 Jul
'17
1:06 p.m.
Andrey Semashev wrote:
Level is an artificial measure computed by placing all modules with no dependencies at level 0, those that depend on level 0 on level 1, and so on.
But there are modules within level 5 that depend on other modules in level 5. And also other modules that only depend on level 4 (e.g. exception).
This is what happens when there are circular dependencies. When A depends on B and B depends on A, it's not possible to make both A (level of B)+1 and B (level of A)+1, so they are placed at the same level.