[Interface-dev] Re: another proposal

Steve Alexander steve at canonical.com
Tue Sep 14 16:32:05 EDT 2004


> First, because it looks ugly :). Somewhere deep down in the wiki we once 
> agreed that classes are CamelCase, methods are camelCase and attributes 
> are under_scored.

No.  Glyph's proposal is correctly styled for Zope 3 code.

http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ClassesAttributesMethods


> Second, I think interfaceName is yagni, interfaceObject is too long. If 
> you really want the name, do method.interface.getName().

Pragmatism 1, Demeter 0.


> So, I'm for making Method.interface the interface object and nothing 
> else. Provided that we're not really using it anywhere which I think is 
> the case.

I support this, as I have said in another email.

-- 
Steve Alexander


More information about the Interface-dev mailing list