Circular dependencies #1733
-
I tried to use your package to fix Circular dependencies, but it didn't work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I honestly believe circular dependencies must be solved in the userland. This is a limitation of the language. In my humble opinion, circular dependencies are the smell of flaws in your design. Having said that, I would love to provide a way to fix them. Unfortunatelly, I don't see a feasible way to do that. Some frameworks have tried to implement workarounds around this with no success. Consider this comment for more information. |
Beta Was this translation helpful? Give feedback.
I honestly believe circular dependencies must be solved in the userland. This is a limitation of the language. In my humble opinion, circular dependencies are the smell of flaws in your design. Having said that, I would love to provide a way to fix them. Unfortunatelly, I don't see a feasible way to do that. Some frameworks have tried to implement workarounds around this with no success. Consider this comment for more information.