Just re-inforcing this I almost never do IFoo. adaption as I am almost
always using
multiadapters and utilities so I completely forget about the IFoo
adaption capability.
Which means I always just write getAdapter as well as it seems more
consistent to
from an api consumption point of view.

T

> Interesting. If you mostly do multi-adaptation (and utility lookups) you
> won't notice it as we know multi adaptation cannot be done with the
> adapter hook. Was this the case?
>
> I really have trouble remembering the lookup APIs in zope.component
> myself. People in my experience actually *try* to do multi adaptation
> using the IFoo adapter hook and then get confused because it fails.
>
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to