I was reading about design patterns and I noticed that the term "opaque dependencies" was quite used. Some sources state that:
Opaque dependencies are the bad kind of dependencies
Opaque dependencies are the kind that you can’t assign using a class’s public API.
But I didn't understood very well.
Can somebody give me some examples where this dependencies are used and why should I avoid them?
Aucun commentaire:
Enregistrer un commentaire