[Python-ideas] 80 character line width vs. something wider

spir denis.spir at free.fr
Thu May 21 09:26:57 CEST 2009


Le Thu, 21 May 2009 02:22:19 +0100,
MRAB <google at mrabarnett.plus.com> s'exprima ainsi:

> > reduce the recommended indentation from 4 chars to 2.
> > That's what I use internally for my own code, and it
> > seems to be a good compromise between readability and
> > eating up too much width with indentation.
> >   
> I find an indentation of 4 characters to be a good compromise in a
> language like Python where indentation is important.

I do, too. 3 is the very minimum for my eyes to vertically parse code structure. 2 is definitely too narrow for me, even with rather short blocks.

Denis
------
la vita e estrany


More information about the Python-ideas mailing list