[Python-Dev] Naming conventions in Py3K
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Dec 30 14:44:50 CET 2005
On Friday 30 December 2005 06:10, Ka-Ping Yee wrote:
> > In fact, I like it that the basic Python functions
>> I didn't say anything about renaming functions. Functions in lowercase
> are one of the naming conventions that Python does follow consistently.
well, it is not consistent when looking at functions versus methods. The best
example here is hasattr() versus dict.has_key().
Overall I agree with your proposal to use a consistent naming style. Whatever
it may turn out to be. We have done the same when we started with Zope 3 and
while having some few inconsistencies, the overall code base benefitted a
lot, I think.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Python-Dev
mailing list