PEP8 and 4 spaces

Roy Smith roy at panix.com
Sat Jul 5 15:07:17 EDT 2014


In article <mailman.11525.1404586681.18130.python-list at python.org>,
 Ian Kelly <ian.g.kelly at gmail.com> wrote:

> On Fri, Jul 4, 2014 at 8:00 PM, Rick Johnson
> <rantingrickjohnson at gmail.com> wrote:
> > Strangly, I rather fancy the idea of using tabs in code,,,
> > which allow each viewer to view the code in his or her level
> > of indention,,, however, i cannot justify using a tab as a
> > replacement for a space. Tabs should be used for "tabular"
> > data (aka: speadsheets), and since code is NOT tabular data,
> > we would be wise to use the space char for indention.
> 
> 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.

Personally, I'm holding out for U+00A0 being a valid character in an 
identifier.  Intercourse this underscore stuff.



More information about the Python-list mailing list