I just started to use Guice.
When I am using Guice my application classes get loosely coupled.
Does using Google Guice make the code less readable, less clear, more complicated to understand and debug?
How is your experience with it?
I just started to use Guice. When I am using Guice my application classes
Share
If someone is not familiar with dependency injection in general then yes, I think it can make code more difficult to follow and comprehend…at first. For example, the first time I worked with Spring, I was a little confused to say the least. However, once you wrap your head around the concept of injecting beans and such, it makes sense.
Good design is paramount, and DI is critical to loose coupling and testability.