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

Have students sort playing cards to teach concurrency and illustrate the power of work that happens in parallel using a hands-on activity.
Use group discussion to help students figure out boundary cases for removing duplicate adjacent elements on their own so that they get to discuss a variety of test cases in depth before focusing on the code.
In Javascript, put off object-oriented design until last to avoid complexity students don’t need.
  • CSTT Facebook
  • CSTT Twitter

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

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College