Skip to main content
CS Teaching Tips

Main navigation

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

Remind students to account for corner cases while debugging because these edge cases are a frequent source of bugs and are often overlooked.

Share Remind students to account for corner cases while debugging because these edge cases are a frequent source of bugs and are often overlooked. with FacebookShare Remind students to account for corner cases while debugging because these edge cases are a frequent source of bugs and are often overlooked. with Twitter
  • Create a shared document or wiki where students can collectively keep track of tricky corner cases by added them to the shared resource.
  • Encourage students to try and "break" their program as a way of checking for corner cases.

More about this tip

Tags

  • Development Methods
External Source
Interview with Rebecca Dovi
Other Tips By
Other Tips By Rebecca Dovi

Similar tips

Alert students working with csv files about removing different types of white-space because students don’t always expect to need to remove white space.
Encourage students to work hard and carefully by choosing exemplary or illustrative student work to review and revise with the whole class.
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.
  • 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