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.

  • 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

External Source

Interview with Walt Schilling