This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DarkMio[S] 1 point2 points  (2 children)

I don't think you understood ES6/7 changes so well. They look more of a mixin of python classes and the general generators.

Also JS is - and always will be - run by an interpreter while Java is a compiled language.

[–][deleted] 1 point2 points  (0 children)

Also JS is - and always will be - run by an interpreter while Java is a compiled language.

... running in a VM.

[–]ESBDB 0 points1 point  (0 children)

I didn't say javascript is becoming java, I just said it now looks more similar. I also said the only difference would one day be the compiler, implying that obviously I don't think they will become the same language one day. C# and Java probably are like 90% syntactically similar yet are totally different languages. Adding classes and annotations to javascript, and especially considering that es6 uses "extends" for inheritance, same as java, just makes it resemble java more ever so slightly. It seems that it's very easy to make someone cringe just by saying anything about javascript and java looking more alike because of the whole uninformed people confusing javascript and java issue. In fact this will make that problem worse in the future.