Martin Vilcans wrote: > On 1/7/08, Guilherme Polo <[EMAIL PROTECTED]> wrote: >> 2008/1/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >>> Anything written somewhere that's thorough? Any code body that should >>> serve as a reference? >> PEP 8 >> http://www.python.org/dev/peps/pep-0008/ > > The problem with PEP 8 is that even code in the standard libraries > doesn't follow the recommendations regarding the naming of functions > for example. The recommendation is to_separate_words_with_underscore, > but some code uses lowerCamelCase instead. > > I tended to dislike the underscore convention, but after forcing > myself to use it for a while I'm starting to appreciate its beauty.
I've come to like lowerCamelCase and a tab of 2. A tab of 4 wastes more space than is needed for the occasional heavy indenting. Colin W. -- http://mail.python.org/mailman/listinfo/python-list