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
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to