On Saturday the galley is quiet. Rocket stacks paper plates on the table.
"Let us act out the call stack," he says. "Each person is a function."
Raven hands out sticky notes. "What do you notice when the stack gets taller?"
"More people are waiting," Rocket says. "Only the top person gets to talk."
Nova blinks happily. "Here is a hint. Nobody leaves until the person above them has returned."
| Bonus recap statement | True or false? |
|---|---|
| A caller waits until its helper returns. | ? |
| The first tray on the stack comes off first. | ? |
| Inside calls run first. | ? |
| A function with no return gives back None. | ? |
Quest complete! Next week, a function calls itself, like a box with a smaller box inside.