Python conventions

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Apr 10 23:23:22 EDT 2008


En Thu, 10 Apr 2008 16:52:11 -0300, <MartinRinehart at gmail.com> escribió:
> Daniel Fetchinson wrote:
>> I'm sorry to disappoint you but this project has already been completed:
>>
>> http://www.python.org/dev/peps/pep-0008/
>
> Daniel, PEP 8 is anything but complete. How much of the following
> simple question can you answer from there:
>
> Given that you can name things with UpperAndLower, lowerAndUpper,
> lower_and_underscore, etc., what is the convention for naming
> packages, modules, classes, ...
>
> PEP 8 very much reminds me of Sun's Java conventions - a start, but
> only a start. Also, in part, controversial. (How wide do you think
> Python code should be?) Finally, lacking in basic organization. (This
> seems to be a disease that infects almost all standards.) We can do
> better. As a guess, GvR would be happy to have someone fill out PEP 8.

This feels like a dejà-vu... Your thread from last January:  
http://groups.google.com/group/comp.lang.python/browse_thread/thread/96fac33ed9d601b7/

If you like doing these kind of things, go ahead and summarize them. You  
have more than 30 style guides to start with. Enjoy.

-- 
Gabriel Genellina




More information about the Python-list mailing list