3 ms·
I believe exceptions are equivalent to a limited form of continuations called escape continuations where control flow can only go upwards (which is the stack un
by miloignis 5y ago
I believe exceptions are equivalent to a limited form of continuations called escape continuations where control flow can only go upwards (which is the stack unwinding). Note that this is also true of break and continue, actually, both of which can be implemented with either exceptions or escape continuations.