4 ms·
Why Dart Excites Me
- lucian1900 15y agoOther than a nicer DOM API (which libraries provide in JavaScript), real ints and less type coercion, I still find Dart inferior to JavaScript+CoffeeScript. Are there really that many people out there that like Java the language (as opposed to the JVM)?
- AndrewDucker 15y agoI like C#, which is a lot like Java. I'd like Java more if it picked up a few things from C# (automatic properties, for instance, would pretty much make my day).
- deleted 15y ago[deleted]
- jarek-foksa 15y agoDart fixes the DOM (...). The Dart team has created a new HTML library for adding events, finding elements, adding elements, that takes advantage of Dart's syntax. With new ES features such as getters, setters and proxies it should be possible to create exactly the same DOM API wrapper in JavaScript.
- carsongross 15y agoI wish google had written a bytecode standard, rather than doing a language, and then targeted that bytecode with Dart (or Java/GWT, or whatever). It would be the catalyst for a flowering of browser-side languages, like we are seeing on the server side in the JVM right now.
- omaranto 15y agoYou mean a bytecode format together with a tool to translate it to JavaScript? Or did you mean convincing all the major browsers to add support for a bytecode that has no code compiled to it yet?
- carsongross 15y agoWell, if I were the lead engineer/vision guy at Teh Goog, here's what I'd shoot for: * Put out a specification for browser bytecode, focusing on keeping it as simple and close to javascript * Build an translator or emulator for it in javascript * Support it natively in Chrome There'd be a wave of interest in it from the languages community and that would put a lot of pressure on the other browsers to support it (and if they don't, the translator would run it anyway.) Nobody is going to convince the other browsers of anything, except users.
- lucian1900 15y agoI would add: * Build a translator from JavaScript (ES3) to said bytecode