Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Thanks for answer. I seen other answers explaining what is a circular dependency more or less with similar words, but it doesn't explains the reason at all, see, I mean that what is the bad thing about trying to have Project A depending on Project B and viceverse?. Why this cannot be compiled? what is the exact reason of this problem?. Commented Jun 26, 2016 at 19:16
  • 2
    @ElektroStudios If your question is "Why can't I have a circular dependency?" rather than "What is a circular dependency and how can I solve it?", you might want to edit your question to make that clear.
    – Blackwood
    Commented Jun 26, 2016 at 19:30
  • 3
    @ElektroStudios because, as the name states, circular depedency is circular, so a compiler has no way to tell which project goes first. Philosphically speaking, it would be asking a computer who came first, the egg or the chicken ? Commented Jun 26, 2016 at 19:58
  • @Blackwood "What is a circular dependency" implies a necessary explanation of what reason it causes a error/mistake related with the compiler, that explanation was not gave in the answer, but I didn't asked a different question neither unrelated, do you really think it deserves to publish another additional thread to explain a circular dependency?, sure then we can introduce a new modal of QA ...in fascicles. Common, much people like you can find any reason to discuss for every little thing.The worst thing is that something else thinks is a good idea to upvote. SuperPeanut thanks for explain. Commented Jun 26, 2016 at 20:06