My experience is no proof, but I didn’t see any real need of goto
so far. That is in languages which have proper break
and continue
. Thus Skila does not have goto
, but have rich break
and continue
. Don’t mind the syntax, I am not sure about it:
label ext_loop while true do repeat break ext_loop; until false; continue; end;
In this dummy example program immediately jumps out of those two loops, once it hits first break
.
Note: you can label only loops.