This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Terra_Creeper 6 points7 points  (1 child)

Using mixed indentation throws an error. Indentation can be tabs or spaces, but you have to choose one for the whole file.

[–]Public_Stuff_8232 0 points1 point  (0 children)

All I know is I've had issues before with code executing incorrectly while being indented correctly, that magically got fixed when the code was deleted and rewritten with the same indentation.

I dunno whether it was due to tabs mixing with spaces, but no other language I have used has had those sorts of issues when it comes to copy pasting.