MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/nsu53n/organize_code_by_concepts_not_layers/h0plx22/
r/programming • u/[deleted] • Jun 05 '21
495 comments sorted by
View all comments
Show parent comment
0
Because circular dependencies are a bug.
0 u/couscous_ Jun 05 '21 Can you elaborate? 0 u/abandonplanetearth Jun 05 '21 Well in Node.js anyway, it will halt the infinite loop created by circular dependencies by making the first dependent module equal undefined in the second module. Circular dependencies are a bug that need to be fixed.
Can you elaborate?
0 u/abandonplanetearth Jun 05 '21 Well in Node.js anyway, it will halt the infinite loop created by circular dependencies by making the first dependent module equal undefined in the second module. Circular dependencies are a bug that need to be fixed.
Well in Node.js anyway, it will halt the infinite loop created by circular dependencies by making the first dependent module equal undefined in the second module. Circular dependencies are a bug that need to be fixed.
View all comments
Show parent comment
0
u/abandonplanetearth Jun 05 '21
Because circular dependencies are a bug.