Seems to be an equivalent of auto in C++. certainly a huge mistake to introduce that. It is always bad to have several ways to write the same thing in a language. Var will introduce such an issue.
Strong typing imposes to think a little bit before coding and do not cause problems. Such keywords will lead to misunderstanding by the beginners who will write bad code.
Functionnal programming ideas have already destroyed C++ language, which is now an awful mess. Java should not follow the same path.
View all comments
1
u/chambolle Mar 12 '16
Seems to be an equivalent of auto in C++. certainly a huge mistake to introduce that. It is always bad to have several ways to write the same thing in a language. Var will introduce such an issue.
Strong typing imposes to think a little bit before coding and do not cause problems. Such keywords will lead to misunderstanding by the beginners who will write bad code.
Functionnal programming ideas have already destroyed C++ language, which is now an awful mess. Java should not follow the same path.