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.

Like(187 Likes)
  • 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.
External Source

Interview with Walt Schilling

Other Tips By