On Thu, Jan 15, 2009 at 12:30 AM, Dhanji R. Prasanna <[email protected]>wrote:

> I think saying that @ImplementedBy tightly couples or exposes
> implementation details is just religious handwaving. Changing the impl
> details does not break tests or client code and that is the real point of
> loose coupling and DI.
>

I didn't realize it didn't until I re-read the doc that guice first look for
explicit bindings.. so that is "VERY" cool. You do get the best of both
worlds. Awesome.


> OTOH @Implemented by is *not* typesafe, and this is a real problem. And the
> one reason you should prefer explicit bindings where possible.
>
> Dhanji.
>
>

-- 
Rick

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to