MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/49prnu/var_keyword_proposed_for_java/d0vgf99/?context=3
r/java • u/adila01 • Mar 09 '16
312 comments sorted by
View all comments
Show parent comments
8
::insert Javascript-inspired fear based response here::
8 u/stepancheg Mar 10 '16 var is JS has no type. In Java it will have type. That makes huge difference. -1 u/Antrikshy Mar 10 '16 var v = "a" console.log(typeof v)??? 1 u/stepancheg Mar 11 '16 Value in JS is typed (to some degree). Variable is not.
var is JS has no type. In Java it will have type. That makes huge difference.
var
-1 u/Antrikshy Mar 10 '16 var v = "a" console.log(typeof v)??? 1 u/stepancheg Mar 11 '16 Value in JS is typed (to some degree). Variable is not.
-1
var v = "a" console.log(typeof v)
???
1 u/stepancheg Mar 11 '16 Value in JS is typed (to some degree). Variable is not.
1
Value in JS is typed (to some degree). Variable is not.
8
u/vplatt Mar 09 '16
::insert Javascript-inspired fear based response here::