|
|
|
|
|
by hackinthebochs
2670 days ago
|
|
>but white space just is not one of them. This position is hard to maintain after you've spent an hour trying to debug a nonsensical error just to realize you opened the python file in an editor that used a different tab/space setting than the file was created in. Significant whitespace is one of the biggest misfeatures in programming history. |
|
I've mixed spaces and tabs before on a handful of occasions, and it's always told me straight away what the problem is.
Here is an example of mixed spaces and tabs for indentation:
https://repl.it/repls/NegativeExemplaryBackups
You'll see that it raises an error:
…and points you to the exact line with a problem.