3 ms·
> As a final argument, it does not let us cleanly do the usual stack-esque wind and unwind, i.e. do A if (error) goto out_a; do B if (error) go
by jolmg 5y ago
> As a final argument, it does not let us cleanly do the usual stack-esque
wind and unwind, i.e.
do A
if (error)
goto out_a;
do B
if (error)
goto out_b;
do C
if (error)
goto out_c;
goto out;
out_c:
undo C
out_b:
undo B:
out_a:
undo A
out:
return ret;
That's pretty neat when you lack a try-finally control structure in the language.