[Zope-dev] Re: relocating Zope 2 core interfaces - a proposal

yuppie y.2005- at wcm-solutions.de
Fri May 6 12:22:18 EDT 2005


Philipp von Weitershausen wrote:
> yuppie wrote:
> 
>> Proposed Solution
>> =================
>> [...]
>> 3.) Doing the same for Zope 2.7 with monkey patching code. [Five 1.0+]
> 
> 
> I assume here you mean patching in OFS.interfaces, webdav.interfaces etc...

Yes.

>> 4.) Making interfaces.zcml point to the new locations. [Five 1.0+]
>>
>> 5.) Adding unit tests that verify interfaces and implementations. 
>> [Zope 2.8.0]
> 
> 
> IMHO that's yagni. We actually don't use interfaces that much for 
> verifying implementations anymore. I think their most common use in Zope 
> 3/Five is documentation, API/schema specification, and easier spelling 
> for security declarations.

???

Who is 'we'?

How do you make sure documentation and specification are in sync with 
the implementation? AFAICT verifyClass() is quite useful for that.


Cheers, Yuppie



More information about the Zope-Dev mailing list