[Python-ideas] Evolution of Style Guides
Barry Warsaw
barry at python.org
Wed Mar 18 19:22:02 CET 2015
On Mar 18, 2015, at 09:58 AM, M.-A. Lemburg wrote:
>PEP 8 is a guideline for people to follow which results
>in readable code. It's not a the only such guideline. Many
>companies have their own which usually build on PEP 8 and then
>add some extra rules or modify PEP 8 rules.
Exactly. Also PEP 8 is deliberately noncommittal about certain style points.
It shouldn't dot every t and cross every i <wink>.
Besides, PEP 8 was originally - and as its introduction still states -
intended for the coding conventions of the standard library, where consistency
is as important as it is lacking in practice. ;) You're supposed to define
the coding standards for your own projects, and it's fine to include PEP 8 by
reference. That's what we do for example with GNU Mailman (although it needs
an update).
Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150318/2cf4bd12/attachment-0001.sig>
More information about the Python-ideas
mailing list