Explain through metaphor that return values allow a primary function to get information from a secondary function.

  • More explicitly consider the following conversation metaphor: A primary function may ASK a secondary function a QUESTION by calling it. The secondary function RESPONDS by returning an answer.

More about this tip

External Source

Interview with Nick Melnyk