3 ms·
The problem with abstractions like GWT is that they build a completely different and incompatible abstraction and on top of JavaScript. The benefit of extension
by olavk 18y ago
The problem with abstractions like GWT is that they build a completely different and incompatible abstraction and on top of JavaScript. The benefit of extensions like packages, type checking and so on may be large, but the cost is also large because you have to abandon compatibility with existing code and libraries.
Mascara (http://ecmascript4.com/ http://ecmascript4.com/) is a different approach - it extends Javascript with classes, types, namespaces and so on, but it does it in a backwardly compatible manner, so you can still utilize your old code, use JQuery and so on.
- boucher 18y agoI don't think you understand how Objective-J works (or GWT, or many of these other tools). You can use any existing JavaScript code in combination with Objective-J code. You can use any existing JavaScript code in combination with GWT too, if you do a little work. Writing an ECMAScript4 to JavaScript translator is really no different than writing an Objective-J to JavaScript one, except Objective-J runs in the browser, not on a python script running on a server. Objective-J runs natively in the browser, an impressive feat.