Earlier quoted context omitted.
All the language features of java: generics, inheritance, type safety, interfaces, and soon to come: lambdas and other Java 8 features, are all supported. Plus your code is organized in java packages. So, I'm not sure you've ever tried GWT. Things like multi threading which aren't possible in javascript aren't supported, but a lot of the JRE which is used in most code, does come out of the box. Its a huge improvement…
Those are features of the IDE, and of Java, certainly. But type safety doesn't really exist in javascript. Structures like interfaces and classes don't really exist. Inheritance is different. Scope is different. What you have is a javascript framework which emulates the behavior of Java to the degree that javascript permits, but can't really implement it. I'm not saying it isn't a useful tool, or that the javascript…
You are not coding in javascript. You are coding in java, and the code is then converted into highly efficient javascript by a compiler.
> What you have is a javascript framework which emulates the behavior of Java to the degree that javascript permits, but can't really implement it.
Absolutely not. You are actually coding in java, and its then compiled to javascript. Have you ever used GWT?