Tell students that they have to fix their indentation before you’ll help them debug to encourage well-organized code.

  • The well indented, and thus easier to read code, makes helping students much more straight forward.
  • Making students indent first also reinforces the importance of well organized, clean code.

More about this tip

External Source

Interview with Seth Reichelson