Thoughts from a newbie

Aahz aahz at pythoncraft.com
Sat Dec 14 11:26:31 EST 2002


In article <6f8cb8c9.0212131330.594d9a08 at posting.google.com>,
Steve <stevesusenet at yahoo.com> wrote:
>
>There are two coding habits that I see often that makes code harder to
>understand:
>
>1. excessive nesting
>2. lines longer then 80 chars 

Someone already mentioned this, but just to emphasize it, PEP 8 contains
a list of Python style guidelines, and both of these are covered.

http://www.python.org/peps/pep-0008.html
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy at lion.austin.ibm.com



More information about the Python-list mailing list