MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/49prtn/var_keyword_proposed_for_java/d0v1vr4
r/programming • u/adila01 • Mar 09 '16
395 comments sorted by
View all comments
Show parent comments
3
You don't know whether String is supposed to be a type or a variable until after you read the next token, because this is also valid:
String
final String x = "hello";
1 u/weltraumaffe Mar 10 '16 I see your point. Thanks :).
1
I see your point. Thanks :).
3
u/immibis Mar 10 '16
You don't know whether
Stringis supposed to be a type or a variable until after you read the next token, because this is also valid: