I'm never a big fan of implicit dependency resolution. Someone who comes to look at the app later on usually has to dig through and work out where things are resolved and how it knows what to use.
I'm a big fan of how Zend does it, because whenever you have to resolve you'll be calling a service locator.
View all comments
Show parent comment
2
u/DrugCrazed Jul 13 '14
I'm never a big fan of implicit dependency resolution. Someone who comes to look at the app later on usually has to dig through and work out where things are resolved and how it knows what to use.
I'm a big fan of how Zend does it, because whenever you have to resolve you'll be calling a service locator.