Rabu, 19 Januari 2011

Python Coding Style Guidelines

Most rules from PEP-8 apply, except:79-character limit doesn’t really matter in some cases like long error or log messages, in those cases the limit is more like 100 chars. The code itself however should generally be restricted to 80-ish chars. Some details on how to write comments, docstring, do imports and write abbreviations in class names.Long expressions and argument list indentation

Tidak ada komentar:

Posting Komentar