by DigitalSea · 10y ago · 0 comments
This is just one of many things that should make people think twice about using Angular 2. The fact the team seemingly take input from a select handful of "Google experts" to guide the framework should be an alarm bell in itself. NG2 is a monolithic and over-engineered framework backed by a company who have proven they conflict with themselves (Polymer) and deprecate popular services on a whim (Google Reader).
I personally use TypeScript in my Aurelia applications, but I think you should allow developers to write using straight-up Javascript. We're getting to the point (or if you're writing evergreen focused web applications, you're there now) where we will be able to write Javascript without a transpiler soon (for most things).
I love TypeScript, but we can't forget what it's a subset of and some have the view that Javascript doesn't need types or interfaces.
I see this happening too often but I don't see how that happened in the parent comment though.
It's a tiny bit of a stretch to call it a whine, but it's old when it's brought up constantly, tbh.
Isn't Google using Dart internally ? From what I've seen all their NG2 projects use the Dart version and their Material design component lib is Dart ?
So if what you were saying was true they would dump the TS/JS version and migrate the team to work on the Dart version 100% and not maintain two separate code bases (like they are now after the Dart/TS source split) and wouldn't even bother with the Material design for TS ?
Honestly I'm not even sure why Google is spending all this effort on the ng2 TS/JS as what I said above would make more business sense - I doubt that ng2 is making them any money if they aren't using it (I'm talking about the TS version).
It's not accurate to say that AngularDart exists first and foremost to meet the needs of one internal team - it exists to provide a great framework for apps of this type (significant, complex web apps).
We think we're making pretty awesome progress here - we've been able to dramatically increase velocity since the source split (a couple of months ago), and have made really large improvements already in application performance and in shrinking the size of the compiled JS for AngularDart apps.
What am i missing?
They do, just not ES6. "The examples of the docs are planned to be written in TS, ES5 and Dart". I tend to agree with their argument that if you're using ES6, why not just use TS.
Moreover ES6 is almost fully supported by current browsers (besides IE11) so you don't have to use transpiler (which adds a performance overhead).
I guess why it's tailored to them is somewhat self explanatory -- they want a framework that handles the specific frontend needs their projects have.