On 07/30/2013 12:32 AM, Graydon Hoare wrote:
On 13-07-29 04:29 PM, Wojciech MiĆkowski wrote:
Hi,
I'm observing rust development for some time, and I must say it slowly
encourages me to use it. Especially the progress from Perl-like syntax
to more sane and quiet form is enjoyable.
That said I wonder why the function definition has form:
fn name(var: type, ...) -> return_type {...}
instead of more unified:
fn name(var: type, ...): return_type {...}
Do people feel strongly? I think we've many better things to spend
time on, and I'm not certain it won't raise an ambiguity. It'd also
break every single patch, branch and package in progress (and
personally, my heart is with the ISWIMs).
I have a fairly strong preference for the current syntax for the various
stated reasons.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev