MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/49prtn/var_keyword_proposed_for_java/d0u2grd/?context=3
r/programming • u/adila01 • Mar 09 '16
395 comments sorted by
View all comments
Show parent comments
40
I would love to see var / final
var a = expr; final b = 1;
0 u/[deleted] Mar 09 '16 [deleted] 18 u/[deleted] Mar 09 '16 [removed] — view removed comment 15 u/RobIII Mar 10 '16 I wish C# have final or something equivalent for local variables.Watch this one: Proposal: 'readonly' for Locals and Parameters 1 u/mirhagk Mar 10 '16 It's likely to make it into C# 7 as well, it was highly desired for C# 6. → More replies (2)
0
[deleted]
18 u/[deleted] Mar 09 '16 [removed] — view removed comment 15 u/RobIII Mar 10 '16 I wish C# have final or something equivalent for local variables.Watch this one: Proposal: 'readonly' for Locals and Parameters 1 u/mirhagk Mar 10 '16 It's likely to make it into C# 7 as well, it was highly desired for C# 6. → More replies (2)
18
[removed] — view removed comment
15 u/RobIII Mar 10 '16 I wish C# have final or something equivalent for local variables.Watch this one: Proposal: 'readonly' for Locals and Parameters 1 u/mirhagk Mar 10 '16 It's likely to make it into C# 7 as well, it was highly desired for C# 6. → More replies (2)
15
I wish C# have final or something equivalent for local variables.
Watch this one: Proposal: 'readonly' for Locals and Parameters
1 u/mirhagk Mar 10 '16 It's likely to make it into C# 7 as well, it was highly desired for C# 6. → More replies (2)
1
It's likely to make it into C# 7 as well, it was highly desired for C# 6.
40
u/oscarreyes Mar 09 '16
I would love to see var / final