Re:The State of JavaScript – Survey results
by devsquid on Monday October 03, 2016 @04:03PM
(#12630852)
Gotta say its pretty awesome! I can do a whole fully functional web app in about a 80kbs JS library(including embedded HTML for fast loading of different views).
The sweet thing about Dart is you don't need libraries like Angular or JQuery. I just use the built in Dart HTML methods and they compile down to vanilla JS.
Re:The State of JavaScript – Survey results
by EugeneOZ on Monday October 03, 2016 @06:25PM
(#12631880)
JSON support is awful, "optional types" means "no types". Thanks, but even TS is better.
Re:The State of JavaScript – Survey results
by SureshG on Monday October 03, 2016 @07:56PM
(#12632348)
Enable strong mode. It's pretty neat - https://github.com/dart-lang/dev_compiler/blob/master/doc/ST...
Re:The State of JavaScript – Survey results
by wstrange on Monday October 03, 2016 @07:23PM
(#12632196)
> "optional types" means "no types"
While it is possible to write Dart code without using types (hence "optional") - the vast majority of Dart code is written using types.
The new Dart compiler also provides a "strong mode" which enforces strong typing in order to generate cleaner Javascript code.
Re:The State of JavaScript – Survey results
by nekitamo on Monday October 03, 2016 @02:02PM
(#12629770)
Correct me if I'm wrong, but I thought that the majority of the Adwords frontend is still written in GWT?
Re:The State of JavaScript – Survey results
by rpeden on Monday October 03, 2016 @02:14PM
(#12629880)
It appears that the new version of the new AdWords UI is created using Dart and Angular 2: http://news.dartlang.org/2016/03/the-new-adwords-ui-uses-dar...
I'm not a heavy AdWords user, so I can't say for certain that this represents all of the AdWords UI. But based on the linked interview, it sounds like they replaced a lot of GWT with Angular.
Re:The State of JavaScript – Survey results
by wstrange on Monday October 03, 2016 @02:17PM
(#12629911)
The new Adwords is built with Dart.
Source: http://news.dartlang.org/2016/03/the-new-adwords-ui-uses-dar...
It has a single dependency management tool (pub), support for Angular 2, and is generally a joy to use.
Material widgets for Angular 2 (the same ones Google uses internally to build Adwords) are expected to be announced at the Dart summit in October.