PEP8 and 4 spaces

Chris Angelico rosuav at gmail.com
Sun Jul 6 01:27:59 CEST 2014


On Sun, Jul 6, 2014 at 4:57 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> I find it a little curious that nobody ever seems to advocate the use
> of vertical tabs instead of repeated newlines. It should offer the
> same benefit as horizontal tabs, namely that one could then
> independently configure one's editor to separate adjacent code
> elements with the desired number of blank lines. But I suppose that
> nobody finds that useful enough to bother with in the vertical case.

How often do you ever have multiple consecutive blank lines? My
newlines are either single (line end) or in pairs (one blank line),
and I don't remember having anything else (at least, not
intentionally). Greater separation than a blank line is provided by
comments, not more whitespace.

ChrisA



More information about the Python-list mailing list