We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the following diagram
Is getInfo() considered a cyclic dependency? If so, should it not be avoided?
getInfo()
The text was updated successfully, but these errors were encountered:
Is getInfo() considered a cyclic dependency?
@ChinZJ may or may not be. Depends on the code. In the following case, it is not.
interface Factory { String getInfo(); } class ParserFactory implements Factory { // ... } class Parser { Parser(Factory f) { f.getInfo(); } }
If so, should it not be avoided?
We try to minimise cyclic dependencies in particular, and dependencies in general.
Sorry, something went wrong.
No branches or pull requests
Given the following diagram
Is
getInfo()
considered a cyclic dependency? If so, should it not be avoided?The text was updated successfully, but these errors were encountered: