Quote Originally Posted by Elysia View Post
And thank goodness for that! We don't have to manually indent poor indented source
But that doesn't mean you should get away with not indenting properly... especially since it causes bugs!
But the very fact that it causes bugs means the student is already punishing himself by not indenting while writing the code. So I don't think grading on indentation for the student's sake is needed. I agree with cpjust that it's reasonable for the teacher to have requirements for the purpose of saving time on grading, and students have been known to be deliberately obscure to try to pull a fast one, but nowadays modifying indentation can be done with a mouse click. And even if the student indents consistently, it may be in a style that the teacher personally can't stand, in which case the indenting has to be changed anyway.