PEP 8 and extraneous whitespace

OKB (not okblacke) brenNOSPAMbarn at NObrenSPAMbarn.net
Thu Jul 28 02:18:56 EDT 2011


Thomas 'PointedEars' Lahn wrote:
>  Automatic word-wrap, where available, really is not a solution; it
> is a bad workaround to a problem caused by the original author of
> the source code that can be easily avoided by them taking more care
> while coding. 

    	I think exactly the opposite.  The source file should reflect the 
semantic organization of the code, without extraneous concessions to 
visual display (like "lining things up" with spaces or splitting long 
lines with hard newlines).  The editor should present the code nicely.  
People already argue for this general mindset when they say that "any 
good edit will let you set the tab width", etc.

-- 
--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead.  Go, instead, where there is
no path, and leave a trail."
	--author unknown



More information about the Python-list mailing list