Crazy idea. Why hasn't someone written a "lint" (o...
# dagger
c
Crazy idea. Why hasn't someone written a "lint" (or any other static code analyzer) rule that looks for new object creation and then flags it as a warning/error in the IDE where it says "You should consider injecting this" I'm assuming most people would say "deciding on whether to inject something should be a conscious decision" but couldn't you say the opposite? "All dependencies should be passed in and those that should not be passed in should be a conscious decision"?