Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

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

Share Tell students that they have to fix their indentation before you’ll help them debug to encourage well-organized code. with FacebookShare Tell students that they have to fix their indentation before you’ll help them debug to encourage well-organized code. with Twitter
  • 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

Tags

  • Development Methods
  • Programming Concepts
External Source

Interview with Seth Reichelson

Other Tips By
Other Tips By Seth Reichelson

Similar tips

Explain that Java’s return is like a platter where you can hand information between methods to help students create a concrete mental model for an often tricky subject.
Misconception: Students think that two different variables cannot refer to the same object.
Empathize with students who struggled to get their code working, these students may not be ready to think about how to advance the design of their program; suggesting they refactor their code immediately after it finally runs can be discouraging.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy