π€michaelwwwπ12yπΌ59π¨οΈ67
(Replying to PARENT post)
TypeScript is what Google Closure Compiler should have been; Closureβs static typing is similar but is much more tedious (you need to type 16 characters just to declare an int! https://developers.google.com/closure/compiler/docs/js-for-c...). Iβm disappointed that nobody from Google Closure has stepped up to unify TypeScript and Closureβs syntax and to provide better tooling.
π€yonranπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
Can anyone explain what the difference between TypeScript and ECMAScript 4 are? I know ECMAScript 4 was abandoned for some reason, but from the few examples I've seen of Typescript it looks very similar. Did the js community just need a few more years to come around to the ideas?
π€seanalltogetherπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
I feel like Dart's emphasis on a fast but chrome-only vm has hindered it's adoption. I understand their goal, unlike most compile-to-js languages, was a language more amenable to fast implementation. However, I think the initial community reaction would have been more positive if Dart was positioned first as a language that compiled to js, with the added benefit that it runs significantly faster on Chrome.
π€pntπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
Dart is great and I like how they are focusing on making it fast and creating a special VM for it (dartium, although it compiles to javascript, too). It's tempting to target a compiler to generate dart code, too, instead of javascript. But there is one deal breaker for me - dart can't compile locally in the browser (even a dartium one). It requires a server or else compiling off-line (same issue with Closure Compiler, too). You can't code a dart app on a chromebook, for example (unless you use remote desktop or install ubuntu on it). The future to me is doing all development work in the browser, and only connecting to the server for the server components or version control, like with c9.io and other browser-based IDEs. Even Eclipse has a browser-based version now - Orion.
It's not a huge deal - there are over a hundred alternative languages that compile to javascript out there now, many of which do support compiling in the browser: https://github.com/jashkenas/coffee-script/wiki/List-of-lang...
π€edtechdevπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
It's a pretty smart move that Microsoft did with TypeScript, making it a proper superset of JavaScript. Google seems to be stuck in the past, bringing out its own VM that is a complete non-starter, and making another class-based, Java-like language. I guess Google is going down the road that Microsoft did years ago with flinging feces on the wall and see what sticks.
I have nothing against Dart. I played with it a year and a half ago when the Eclipse beta came out. It's nice tooling, but brings absolutely nothing interesting to the table.
π€sultezdukesπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
Haxe anyone ? full HTML5 api support , dead-code elimination, loads of libraries and frameworks , easy integration with third party libraries ,multi-target (C++,Flash,JS,...) and open source...
π€camusπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
To me this interview underlines the accomplishment of CoffeeScript.
No committees. No marketing team. No developer evangelists. No PR team. No corporate interests. No budget.
Just code.
π€andylπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
Transcript?
π€ttrreewwπ12yπΌ0π¨οΈ0
(Replying to PARENT post)
Anders Hejlsberg: Everything you say and more I will agree with. The question is not whether JavaScript is broken. The question is whether it is broken enough to merit being replaced by something else.