DEV Community

Discussion on: Let's revisit Java in 2019

Collapse
 
fultonbrowne profile image
Fulton Browne

Great article, I have bean a java developer for 2 years and I didn't know about the var feature, thanks for mentioning it, it should save me some time.

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.