flow of control

The order in which a program's statements actually run, which jumps into functions, round loops and past if branches rather than going straight down the page.

In more detail

A call jumps to the function body and comes back to the caller when the body ends or returns. Execution order is not text order: a def near the top runs its body only when called later. Following the flow of control by hand is the heart of playing computer.

Related terms

Taught in

References

Certification courses