JavaScript (an implementation of EcmaScript) has different semantics than Java, it is not a subset and so it would break all sorts of backwards compatibility (and lose some functionality) to act as if it is a subset of Java.
Basically, the languages are not directly related so it is not possible, and mostly comes up from a naming confusion. On Fri, Jan 1, 2016 at 8:51 AM, Norbert Korodi <[email protected]> wrote: > Hello Guys! > > I have always been a backend developer(Java, python, c++,c) and for a long > time I haven't had the privilige to play with native javascript... so You > can imagine when I was forced to code in javascript. > After a couple of hours I had a really simple thought coming up from my > spine: es6 is great and es7 will be great... but could you pls make it more > like Java? > I mean, it's great that es6 and 7 are getting closer and closer to normal > languages then why not be simply Java? > I and my team used GWT (when we were forced to code frontend) and other > tools to avoid scripting but this time(standardization is somewhere close > to the right track) You can actually make a difference and create a > standard language that could be used everywhere. Not because there are > already a lot of coders working in Java (and other high-level programming > languages), just because it is a really pain in the a$$ to learn the not so > important differences what es has compared to other languages... and they > give nothing in return. > > Okay, I know it is a scripting language so it can not be as verbose as > Java... then just simply take stuff away from Java, and please don't add > anything else for sugaring syntax.Please add syntax only for adding new > features. > > As I reread my letter I have to admit that I might sound arrogant / > offensive (and I am sorry for that , at least I am honest ) but I am really > tired of reading about "new"-ish es features which are only new to this > platform. > > Br, > -- > Norbert Korodi > Big data developer > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

