[Zope-dev] Coding style clarifications

Zvezdan Petkovic zvezdan at zope.com
Thu Feb 19 10:03:31 EST 2009


On Feb 19, 2009, at 5:13 AM, Wichert Akkerman wrote:
> Previously Christian Theune wrote:
>> 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'.

You probably remember right for some point in time at least.

However, see the discussion from last year, started by this message.

http://mail.zope.org/pipermail/zope3-dev/2007-August/023394.html

and the decision that was apparently adopted is in this document  
(section titled "Coding style"):

http://svn.zope.org/*checkout*/Sandbox/philikon/foundation/maintaining-software.txt



More information about the Zope-Dev mailing list