One thought on “Python – PEP 8 Style Guide – Indent with Tabs or Space?”
Don’t be bugged by it — use what makes sense to you. IMHO (and in the opinion of many others), the PEP8 guideline on tabs vs spaces is wrong. It may have been a fine guideline for Guido’s team working on the Python core and standard libraries but when you consider all points equally, the arguments for tabs greatly outnumber the arguments against them. FWIW, 30+ year developer here, 10+ languages, only ever use tabs.
Don’t be bugged by it — use what makes sense to you. IMHO (and in the opinion of many others), the PEP8 guideline on tabs vs spaces is wrong. It may have been a fine guideline for Guido’s team working on the Python core and standard libraries but when you consider all points equally, the arguments for tabs greatly outnumber the arguments against them. FWIW, 30+ year developer here, 10+ languages, only ever use tabs.