Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Soft tabs" are fiction. Show me the Python specification that says "you cannot use spaces, you must use soft tabs". The fictional soft tabs suffer from the same defect as real tabs -- they're defined in different ways in different places.

Source: https://code.google.com/p/soc/wiki/PythonStyleGuide

Quote: "Indentation: 2 spaces (no tabs)"

Gee, that's funny -- no mention of "soft tabs".

Source: http://www.python.org/dev/peps/pep-0008/

Quote: "Indentation ... Use 4 spaces per indentation level."

Where are the references to "soft tabs"?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: