Re:Why Google thinks you should drop everything you do and p...
by abritishguy on Sunday September 07, 2014 @08:06AM
(#8280883)
I agree that ember is better than angular but there is no reason why angular should run faster in chrome so it is not really relevant to your first point. In fact apart from Dart I can't think of any web technology that Google is promoting to developers that will be faster in chrome.
For example, compare Ember and Angular; Ember's architecture records the dependencies between values, and only updates what needs to be updated when an upstream dependency changes, while Angular has to recompute everything on every 'digest' cycle. When it comes to writing directives in a complex Angular application, you often to set a numerical priority field to the just the right number to get things to happen in proper order - leading to spaghetti code that is hard to reason about and fragile to extend.
I think Dart is even worse when compared to better emerging options like ghcjs (which compiles Haskell to JavaScript) and Elm; these alternatives have more powerful type systems that make common patterns like reactive programming and generic programming much easier and safer. Control structures that are built into Dart (e.g. the 'async' feature) can be treated as just one instance of a general type class (e.g. Monad) with ghcjs.
I think everything considered, these highly promoted and usually highly adopted but technically inferior Google front-end technologies are actually a net negative for the web.