DEV Community

Discussion on: Let's revisit Java in 2019

Collapse
 
daviddalbusco profile image
David Dal Busco • Edited

Me neither I didn't knew about var.

In Javascript nowadays using var is kind of discouraged. It's kind of funny that in Java it's the contrary.

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

Well, but the reason is obvious, isn't it? A "var" has completely different implications in these 2 languages.

Thread Thread
 
daviddalbusco profile image
David Dal Busco

I did not say the opposite.