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

Use the playful phrasing “bracket thief” when students get a common Java error for forgetting to use a closing bracket to remind students of this error in a non-threatening way.
Misconception: Students may not realize that websites need and use servers to store, process, and deliver content to users’ browsers, causing struggles with the distinction between Server side vs. Client side.
Introduce “base-case” and “smaller-caller” as a helpful way for students to remember the different parts of recursion.

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

Privacy Policy