Replies: 2 comments 1 reply
-
Great the tool helped you so much! And thanks for your nice feedback. I also use it in various projects and found that circular dependencies problem almost always the biggest one. I usually use a combination of dependency injection and interfaces. I fact, interfaces have been my universal tool to get the circular dependencies solved. Finding the circular dependencies is relatively easy, but solving that automatically is something I imagine not so simple, as it requires detailed knowledge of the project. |
Beta Was this translation helpful? Give feedback.
-
Interesting approach. Might be helpful for people looking for a solution for their projects. Trying to solve deep circular dependencies can be a daunting task, and made me more than once curse the JS gods for that :-D |
Beta Was this translation helpful? Give feedback.
-
Just wanted to say that I used your tool to convert a large Java project to Typescript (running inside the browser) and it has helped me tremendously.
The biggest issue I had was with circular dependencies which I solved by using dependency injection via an initialization function. My method was pretty mechanical and could be automated. I used a tool (madge) to analyse the dependencies and it showed 62 circular dependencies.
Thank you for this great tool.
Carlos.
Beta Was this translation helpful? Give feedback.
All reactions