I'm currently developing some App using RoboGuice
. My question is: should I realy inject everthing ? Should every class I've created have its own contract interface ?
This question came to my head after my troubles with naming interface for one of my class "BatteryStatusUtil
" which returns informations about battery level, and stuff like that. I've read somewhere that "If you cant think name for your interface, you probably don't need interface"
Please correct me if i am using dependency injection too much, or give me some hints on naming my interfaces when I have no "more generic" name for ma interface (like class FastCar
with interface Car
)