by Ma8ee · 5y ago · 0 comments
And what has reflection to do with this?
You "wire up" the implementations at runtime, using reflection.
It certainly has its cost in additional complexity through indirection, but it's better than creating cyclic dependencies or giant balls of mud.
https://en.m.wikipedia.org/wiki/Dependency_inversion_princip...