RFC: replace ':' with '=' in struct expressions #171

wants to merge 1 commit into


None yet
3 participants

No description provided.


ghost commented Jul 17, 2014

This has already been proposed in #65 and was rejected.


alexcrichton commented Jul 17, 2014

Yes, as @jakub- said this has been discussed previously and rejected, so closing.


alexcrichton commented Jul 17, 2014

Of course though, thank you for taking time to write this up! We're trying to keep bikeshed to tolerable levels for now, though.

If you'd like to discuss this further, I'd recommend heading over to http://discuss.rust-lang.org/.

Ouch, that was quick! Just note that #65 was discussed before RFC 25 has landed, so switching was harder then than it is now. Also perhaps the proof-of-concept shows that switching is not really hard.

Is there a reason to prefer discuss.rust-lang.org over reddit? I'd like to ask people to reply with "+1" or "-1", and I think that reddit has more volume.


alexcrichton commented Jul 17, 2014

Discourse is better engineered for long term discussions and having them archived, so we're going to try to use discourse over reddit for now.

Ok, I left a reply in reddit asking people to vote on Discourse.


liigo commented Jul 19, 2014

This is not the first time people propose changing this syntax.

On the reddit page [1], what i seen is, most people vote for Point { x=3, y=5 }.

= followed by value, : followed by type, we should always keep this consistency.

[1] http://www.reddit.com/r/rust/comments/2azioc/rfc_replace_point_x_3_y_5_with_point_x3_y5/


liigo commented Jul 31, 2014

@noamraph Any progress? I'd like to see this change to be apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment