Make const implicitly typed #4195
Answered
by
svick
hdadr
asked this question in
Language Ideas
-
Just like how var works, i would like to use const similar way. For example: const double pi = 3.14; -> Edit: The purpose of this idea is to eleminate the unnecessary type declaration. |
Beta Was this translation helpful? Give feedback.
Answered by
svick
Dec 6, 2020
Replies: 2 comments 3 replies
-
Isn't it a better idea to allow the keyword var in const? |
Beta Was this translation helpful? Give feedback.
3 replies
-
This is a duplicate of the championed proposal #106. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hdadr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a duplicate of the championed proposal #106.