[Zope-dev] Coding style clarifications

Wichert Akkerman wichert at wiggy.net
Thu Feb 19 05:13:01 EST 2009


Previously Christian Theune wrote:
> Hi,
> 
> while gathering, cleaning and consolidating the various statements that
> float around about the coding style for Zope 3, I found a couple of
> issues that I'd like to get clarification for.
> 
> What I found is currently gathered at
> http://svn.zope.org/zope3docs/source/codingstyle/python-style.rst?rev=96729&view=auto
> 
> Which attribute naming is current?
> ==================================
> 
> Do we use under_scores or mixedCaseNames?
> 
> I think I remember that we decided to follow PEP 8 for new code and
> invoke the "local consistentency" rule on old code. Is that correct?

That would make the end result inconsistent. I seem to remember
camel case being declared 'the zope standard'.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-Dev mailing list