[rust-dev] Brace-free if and alt

Brian Anderson banderson at mozilla.com
Thu Apr 12 12:14:04 PDT 2012

On 04/12/2012 10:33 AM, Niko Matsakis wrote:
> I am not a big fan of the `if` syntax. Or at least I don't mind our
> current one and it is nicely unambiguous. However, I really like "alt
> with arrow" syntax. I find the current one quite unreadable,
> particularly for long blocks. The "=>" arrow (or `->`, I am somewhat
> indifferent) helps to set apart the conditions and the blocks.

I share the same opinion on both subjects.

More information about the Rust-dev mailing list