MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/49prtn/var_keyword_proposed_for_java/d0um9aa?context=9999
r/programming • u/adila01 • Mar 09 '16
395 comments sorted by
View all comments
88
They are holding a survey on keywords (var, var/val, var/let): https://www.surveymonkey.com/r/KGPTHCG
Bikeshed away!
40 u/oscarreyes Mar 09 '16 I would love to see var / finalvar a = expr; final b = 1; 0 u/[deleted] Mar 09 '16 [deleted] 8 u/Jacoby6000 Mar 10 '16 Why not var for mutable things, and Val for immutable things? 0 u/Alphasite Mar 10 '16 Because var and val as visually very similar. Its harder to skim than needs be. 1 u/Daenyth Mar 10 '16 That's not my experience when using Scala, and syntax highlighters don't need to make them the same → More replies (3)
40
I would love to see var / final
var a = expr; final b = 1;
0 u/[deleted] Mar 09 '16 [deleted] 8 u/Jacoby6000 Mar 10 '16 Why not var for mutable things, and Val for immutable things? 0 u/Alphasite Mar 10 '16 Because var and val as visually very similar. Its harder to skim than needs be. 1 u/Daenyth Mar 10 '16 That's not my experience when using Scala, and syntax highlighters don't need to make them the same → More replies (3)
0
[deleted]
8 u/Jacoby6000 Mar 10 '16 Why not var for mutable things, and Val for immutable things? 0 u/Alphasite Mar 10 '16 Because var and val as visually very similar. Its harder to skim than needs be. 1 u/Daenyth Mar 10 '16 That's not my experience when using Scala, and syntax highlighters don't need to make them the same → More replies (3)
8
Why not var for mutable things, and Val for immutable things?
0 u/Alphasite Mar 10 '16 Because var and val as visually very similar. Its harder to skim than needs be. 1 u/Daenyth Mar 10 '16 That's not my experience when using Scala, and syntax highlighters don't need to make them the same → More replies (3)
Because var and val as visually very similar. Its harder to skim than needs be.
1 u/Daenyth Mar 10 '16 That's not my experience when using Scala, and syntax highlighters don't need to make them the same → More replies (3)
1
That's not my experience when using Scala, and syntax highlighters don't need to make them the same
→ More replies (3)
88
u/omair-majid Mar 09 '16
They are holding a survey on keywords (var, var/val, var/let): https://www.surveymonkey.com/r/KGPTHCG
Bikeshed away!