Who are the "spacists"?

Christian Gollwitzer auriocus at gmx.de
Sat Mar 18 04:05:39 EDT 2017


Am 18.03.17 um 01:52 schrieb Mikhail V:
> So Python supports both spaces and tabs for indentation.
>
> I just wonder, why not forbid spaces in the beginning of lines?
> How would one come to the idea to use spaces for indentation at all?

In the Python world it is the opposite - spaces are preferred and tabs 
are merely "allowed" - see PEP8

	https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces

Both have advantages and disadvantages for indentation. Some ideas how 
to get both have never gained widespread adoption:

	http://nickgravgaard.com/elastic-tabstops/

Christian



More information about the Python-list mailing list