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

Show students what code looks like with and without new programming constructs (e.g., methods, Objects, inheritance, loops, switch statements) to motivate the reasons for using new concepts.
Use popular, repetitive music to teach loops in a beginning course because this motivates the purpose and application of loops while keeping students engaged by referencing popular culture.
Explain recursion with the example of determining your row in a stadium by asking the row in front of your what row it is… asking until you get to the first row, the base case.

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

Privacy Policy