Re: improving the utility and adapter lookup APIs

Tim Hoffman <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.