[Grok-dev] Re: naming conventions

Christian Theune ct at gocept.com
Fri Mar 16 11:50:03 EDT 2007


Am Freitag, den 16.03.2007, 16:40 +0100 schrieb Martijn Faassen:
> Christian Theune wrote:
> > I didn't catch your discussion and couldn't read up on the other thread,
> > so I'm running on the danger to be missing something and I'm sorry for
> > that already.
> > 
> > I'm not sure what the naming conventions for Zope 3 are, but, Jim keeps
> > referring to PEP 8 and keeps pointing out that those do you use
> > under_scores in favour of camelCase for methods and attribute names.
> 
> Yeah, both Philipp and I are aware of this. :) Zope 3 can't start 
> following PEP 8 any time soon though, as it has tons of camelCase 
> methods and it would really be confusing if we suddenly started 
> introducing under_score_methods() in existing classes and modules.
> 
> Since Grok in some cases subclasses things in Zope 3, we figure 
> consistency might be better here than following PEP 8.

Ok. I'm with you on that. :)

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20070316/ac04f619/attachment.bin


More information about the Grok-dev mailing list