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).

Rust-dev mailing list

Reply via email to