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.
Me neither I didn't knew about var.
var
In Javascript nowadays using var is kind of discouraged. It's kind of funny that in Java it's the contrary.
Well, but the reason is obvious, isn't it? A "var" has completely different implications in these 2 languages.
I did not say the opposite.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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.Well, but the reason is obvious, isn't it? A "var" has completely different implications in these 2 languages.
I did not say the opposite.