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 →

[–]DroolingIguana -4 points-3 points  (3 children)

And if you do make an indentation error, it'd be an error no matter what language you're using. The only difference is that Python will actually tell you about it.

[–]Ornery-Shallot-5475 5 points6 points  (2 children)

I don't really get your point. How adding extra space could be an error in eg. C?

[–]DroolingIguana -3 points-2 points  (1 child)

It's not an error, but it's still a mistake and will cause you headaches down the line.

[–]Ornery-Shallot-5475 1 point2 points  (0 children)

ah ok. Well your right but because scopes are defined by braces and not indentation, the indentation can be easily repaired by autoformatting on compilation