Chris McDonough wrote:
> Thomas Lotze wrote:
>> Martijn Faassen wrote:
>>> * a utility never has a connection. That's because it already got
>>> instantiated long before the lookup takes place.
>> Isn't it the other way around: A utility never has a connection to any
>> adapted object, and that's *why we can* instantiate it long before the
>> lookup takes place.
>> I think the difference between these two perspectives may have to do with
>> why some people in this discussion confuse (as I see it) the concepts of
>> instance vs. factory registration and adapter vs. utility lookup.
> I'm not confused.  I understand this worldview.
> I'm just arguing that this worldview is less understandable for new users and 
> maintenance programmers than it would be to leave them distinct (or to 
> "unify" 
> them by providing an API like "lookup" which never calls the result of an 
> adaptation).  The conceptual beauty of how they might be otherwise similar is 
> meaningless to new users and maintenance programmers.

... and possibly hostile to people who've educated themselves about the 
current patterns and nomenclature.

Anyway, I get the feeling we've moved on, and that this issue is 
eclipsing the more worthwhile discussion about API design and 
consistency, which I think we all want.


Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See

Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to