rewrite GOTO in EO, using TRY object
I think it's possible to remove Java from the goto atom and rewrite it in pure EO, using the try atom. Let's try.
@mximp please, help here
blocked by #1570
@yegor256 simple implementation (in draft PR) implies couple of limitations:
- nested goto's are not allowed
- since
gotorelies onwhileit performs additional dataization which is not always intuitively clear and need to be taken into account.
At the moment I cannot find a way to implement EO version of goto without using bool.while. Also I couldn't find a way to overcome above limitations. It seems that it would require much more complex code in EO (if even possible).
So the question is: are we ok with those limitations of goto?.
Otherwise I would suggest to leave goto as an atom.
This task is blocked until the way is found to avoid double dataization.