let mut, var imm or let var, var let #1669
igotfr
started this conversation in
Language design
Replies: 1 comment 2 replies
-
This could be written using current syntax as: let a = d;
var b = e;
let d = f; Personally, i find this easier to read than the proposal; i don't have to correlate names on the left with values on the right. Do you have a motivating example to show how the proposed syntax would help? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For instance:
or
Beta Was this translation helpful? Give feedback.
All reactions