-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Mut syntax for record fields #2133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I guess we could do |
Personally, |
@jdm it's true that this looks nice, though I think it confuses Maybe I was too hasty to close, but I'd rather see an e-mail to the list to hash out some kind of proposal before opening a bug. That is, I think issues ought to have specific suggestions, not just an indication of what you dislike. |
(The |
That's fair. I might make an email about it then. Thanks! |
Just a random comment, not sure if anything can be done about this.
I think the mutability syntax for records is a bit unreadable.
Because the mut comes before the field name, it's quite hard to figure out what the actual fields are called. IMO, name should be on the left and the information associated with it on the right, that seems like a universal thing for structs, dictionaries, etc.
The text was updated successfully, but these errors were encountered: