Hacker News new | ask | show | jobs
by fleur-de-lotus 1829 days ago
Still no 'continue' statement. Sigh!
1 comments

You can label your loops and use an inner labeled single-pass loop, you can have labels such as "<<Continue>>" to what you can do a "goto Continue", or you can raise an exception that does "null", which does nothing and carries on to the next iteration.
In the same vein, why bother with 'for' and 'while' loops. You could just use a label and a goto statement.