Continuation
In plain terms
A representation of 'the rest of the computation' at a given point.
Going deeper
A continuation captures what should happen next in a program, which can be saved and invoked later to control flow in advanced ways. It's a powerful, mind-bending concept.
Under the hood
Continuation-passing style and call/cc enable implementing generators, exceptions, and coroutines; rarely used directly but foundational.
Examples
call/cc in Scheme, async transformations, generators, control-flow libraries.
Think of it like...
Like a saved checkpoint in a game that captures everything still to come from that moment.