3 ms·
>For example, if the printf is indented with spaces and the return foo is indented with tabs, the return will be put outside the if, even though it looks like i
by meowface 13y ago
>For example, if the printf is indented with spaces and the return foo is indented with tabs, the return will be put outside the if, even though it looks like its inside.
Python 3 deals with this by throwing a warning about inconsistent use of tabs and spaces before it even finishes parsing the file (so basically before runtime). There's no reason why any other language can't do the same.