Why does Python pep-8 strongly recommend spaces over tabs for indentation?
问题 I see on Stack Overflow and PEP 8 that the recommendation is to use spaces only for indentation in Python programs. I can understand the need for consistent indentation and I have felt that pain. Is there an underlying reason for spaces to be preferred? I would have thought that tabs were far easier to work with. 回答1: The answer was given right there in the PEP [ed: this passage has been edited out in 2013]. I quote: The most popular way of indenting Python is with spaces only. What other