Well, I'm glad they bothered to keep upgrade paths in mind. That was one of my biggest concerns from the 2.0 announcement.
ngForward looks especially interesting, particularly for those who are still stuck with IE8 support.
However, I don't think I'll see myself using angular 2.0 personally. After react, mithril, riot, etc. I just don't find the boilerplate you have to use with 2.0 very attractive.
After using typescript for the last year... I can't see going back. It has caught so many typos for me, and code completion makes things go so much faster.
Quite a few bugs previously, I submitted many bug reports to Jetbrains, but as of the current version 11.0.2 it seems to work very reliably.
And by the way, WebStorm recognizes inline JSDoc type hints (in additon to all the normal JSDoc):
let /**string[]*/ a;
From now on this is an "array of strings" (I prefer the short notation over Array.<string>) - for the code inspections as well as for completion. If you want types, with WebStorm and an IDE and/or tools recognizing JSDoc type info you get them with regular Javascript.
WebStorm, VS Code, and Atom all provide a very similar experience when working with TS, because the plugins are all built on top of TS' services.
Dart's tooling works the same way. The heavy lifting is done by the SDK's analyzer which is used by all plugins.
New languages should definitely copy this concept. It's the most efficient way to get top-notch tooling into all kinds of editors and IDEs. It also makes it easier to keep those plugins in sync with language changes.
26
u/wreckedadvent Yavascript Dec 15 '15
Well, I'm glad they bothered to keep upgrade paths in mind. That was one of my biggest concerns from the 2.0 announcement.
ngForward looks especially interesting, particularly for those who are still stuck with IE8 support.
However, I don't think I'll see myself using angular 2.0 personally. After react, mithril, riot, etc. I just don't find the boilerplate you have to use with 2.0 very attractive.