MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/49prtn/var_keyword_proposed_for_java/d0ujhft/?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;
31 u/sudowork Mar 10 '16 Var/val from Scala is pretty reasonable as well. 16 u/kcuf Mar 10 '16 And already used by JVM developers that mix languages (I believe Kotlin uses this as well as Scala). 1 u/vorg Mar 10 '16 As also does Apache Groovy, though it calls it "def".
31
Var/val from Scala is pretty reasonable as well.
16 u/kcuf Mar 10 '16 And already used by JVM developers that mix languages (I believe Kotlin uses this as well as Scala). 1 u/vorg Mar 10 '16 As also does Apache Groovy, though it calls it "def".
16
And already used by JVM developers that mix languages (I believe Kotlin uses this as well as Scala).
1 u/vorg Mar 10 '16 As also does Apache Groovy, though it calls it "def".
1
As also does Apache Groovy, though it calls it "def".
40
u/oscarreyes Mar 09 '16
I would love to see var / final