3 ms·
It's not just that. The REASON why tabs are so bad is because it makes very very subtle errors when they get mixed. Additionally, tabs are 8 spaces to the pyth
by gte910h 17y ago
It's not just that. The REASON why tabs are so bad is because it makes very very subtle errors when they get mixed.
Additionally, tabs are 8 spaces to the python interpreter. If you're not using 8 space tab stop, you're setting up people who use your code for a world of hurt if they ever change anything in your files.
- jvdh 17y agotabs and spaces are different things to the Python interpreter. If you really want to, you can mix them in your code. But you cannot mix tabs and spaces on the same indent level.
- camccann 17y agoThe REASON why tabs are so bad is because it makes very very subtle errors when they get mixed. And the reason why spaces are bad is because it makes subtle errors when they get mixed in with tab-indented code. This is an argument for consistency, not for using spaces.