| Store | Cart

Python style guidelines

From: Jorgen Grahn <jgra...@algonet.se>
Fri, 12 Mar 2004 19:29:25 +0000 (UTC)
On Thu, 11 Mar 2004 17:39:31 -0500, Will Berry <wberry at wberry.org.x> wrote:
> Style guidelines and coding standards are the devil!  I would enjoy > nothing more than reading an ACM paper entitled "Coding Standards > Considered Harmful".  I've never seen a single real-life case where the 

Not an ACM paper, but ...

  http://www.algonet.se/~jgrahn/anticodingrules.pdf

Disclaimer: it's an unfinished draft, and it was written in anger
during a period when I was ruled by a really stupid standard.

> argument for coding standards for that reason.  Or, for large projects > and open source projects, have an auto-styler run on all checked-in > code.  That would at least do away with the spaces-or-tabs problem.

Argh! An auto-styler is the only thing I would hate more than a coding
standard... Coding style is style. People have style, programs do not.

/Jorgen

PS. I just read that PEP for the first time, and it's one of the most
reasonable style guides I've seen (meaning I already did most of that ;-).

-- 
  // Jorgen Grahn <jgrahn@      ''If All Men Were Brothers,
\X/                algonet.se>    Would You Let One Marry Your Sister?''

Recent Messages in this Thread
beli...@aol.com Mar 10, 2004 07:12 pm
Skip Montanaro Mar 10, 2004 10:09 pm
Will Berry Mar 11, 2004 10:39 pm
Richie Hindle Mar 12, 2004 09:36 am
Jorgen Grahn Mar 12, 2004 07:29 pm
MetalOne Mar 13, 2004 07:08 am
Heather Coppersmith Mar 13, 2004 01:22 pm
MetalOne Mar 13, 2004 09:28 pm
Andy Salnikov Mar 15, 2004 09:34 pm
Rocco Moretti Mar 17, 2004 07:22 pm
wmwd...@sneakemail.com ) (Greg Ewing (using news.cis.dfn.de) Mar 15, 2004 12:39 am
Josef Meile Mar 11, 2004 09:48 am
Peter Otten Mar 11, 2004 11:18 am
Heather Coppersmith Mar 11, 2004 11:34 am
Josef Meile Mar 11, 2004 03:39 pm
Peter Hansen Mar 11, 2004 03:41 pm
Donn Cave Mar 11, 2004 04:49 pm
John Roth Mar 11, 2004 05:16 pm
wmwd...@sneakemail.com ) (Greg Ewing (using news.cis.dfn.de) Mar 12, 2004 03:23 am
Mel Wilson Mar 12, 2004 03:57 pm
Aahz Mar 11, 2004 04:27 pm
beli...@aol.com Mar 11, 2004 12:52 pm
Michael Hudson Mar 11, 2004 01:41 pm
Messages in this thread