I think the biggest case for gotos is jumping out of nested loops. Does rust have a nice way of doing that yet? On Mar 23, 2014 11:57 AM, "Jérôme Bartand" <moije...@gmail.com> wrote:
> Hello fellow Rustians, > > I noticed that there is no goto statement in Rust yet. Gotos are very > useful e.g. for writing FSMs or for code generation and can, if used > sensibly, often make code more readable than code with traditional control > structures and temporary variables. > Can we please have a goto statement in Rust? > > Please no stupid remarks like "goto fail" or "go to statement considered > harmful" or similar (the Apple bug was not caused by the goto and Rust has > unreachable code detection). > > Thanks > > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev > >
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev