3 ms·
All control flow constructs in modern programming languages are about codifying the safe uses of goto and setjmp. For example defer and friends are goto cleanu
by Spivak 5y ago
All control flow constructs in modern programming languages are about codifying the safe uses of goto and setjmp.
For example defer and friends are goto cleanup; and yield and exceptions are setjmp.