Skip to main content
CS Teaching Tips

Main navigation

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

Have all functions return something in an intro course to help students understand that functions have a start and an end, even though they are always returning.

Share Have all functions return something in an intro course to help students understand that functions have a start and an end, even though they are always returning. with FacebookShare Have all functions return something in an intro course to help students understand that functions have a start and an end, even though they are always returning. with Twitter
  • Seeing what is returned allows students to start debugging without immediately needing to step through the inside of the function. from a function helps students debug what’s going on inside of the function without immediately digging into the function.

More about this tip

Tags

  • CS 1
  • Intro Programming
  • Development Methods
External Source

Interview with Walt Schilling

Other Tips By
Other Tips By Walt Schilling

Similar tips

Run a pair programming contest in Python to motivate, challenge, and boost students’ self-confidence.
Scaffold students through reverse engineering existing Scratch projects to help them gain competency in important concepts like message passing, variables, and event-based programming.
Misconception: Students have difficulty transitioning from working with one sprite to multiple sprites in Scratch.

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

Privacy Policy