[Zope3-dev] Making a JobBoardEditView, issues
Jim Fulton
jim@zope.com
Tue, 03 Sep 2002 12:20:39 -0400
Jeffrey P Shell wrote:
>
> On Monday, September 2, 2002, at 01:26 PM, R. David Murray wrote:
>
...
>> On a different topic, in your blog, in your XMLRPCView subclass
>> you do:
>>
>> __implements__ = XMLRPCView.__implements__
>>
>> Is there a technical or stylistic reason for doing this? I would
>> think leaving it out would be equivalent, as __implements__ would
>> be inherited from the base class, right? If it is important to
>> do this, I think I should make a note in the style guide.
>
>
> I don't know if it's important to do it, but Jim Fulton once described
> it as - "I don't necessarily want to implicitly sign on for all of my
> parents contracts", so in the view of explicit is better than implicit,
> I try to explicitly name contracts I really want to inherit and/or
> otherwise intend to fulfill.
Well said.
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org