Live data from Hacker News

Angular 2: Built on TypeScript

blogs.msdn.com

31–40 of 235 posts

Re: Angular 2: Built on TypeScript

#31
post #19

As if we didn't have enough reason to move on from Angular. Now you need to learn Typescript to contribute or grok the source files?

I am pretty sure that TypeScript just adds type safety and is optional. I don't see this as a huge negative and I actually see this as a positive. Just curious, what and why are all your reasons to move away from Angular?

If type safety was the issue, couldn't they have tried Facebook's Flow[1] which believe would have reduced the technical overhead by large?

[1]: http://flowtype.org/

Re: Angular 2: Built on TypeScript

#32
post #9

So Angular has gone from being written in plain JS, to Dart, to Atscript, and now Typescript? Why so much jumping around? Isn't that creating a lot of technical debt issues?

They made an Angular.js rewrite in Dart that has nothing to do with Angular 2.0. Angular 2.0 was written in ATScript which was basically Typescript with annotations. Now Typescript added annotations so there's no point in mantaining ATScript anymore.

Re: Angular 2: Built on TypeScript

#33

Embrace, extend, extinguish.

Hard to say. It didn't seem like Microsoft had a good strategy for modern web development (javascript/rest/etc.) at least from the client side. They had webforms/MVC but you pretty much had to use client side controls from other sources, like Telerik, if you wanted to do something modern. One assumes that tooling with javascript would be difficult for them to add in Visual Studio, say as compared to the tooling offered for C#. So moving to a typed language allows them to have nice Visual Studio tooling as well as picking a path for modern web development.

Re: Angular 2: Built on TypeScript

#35
post #8

Earlier quoted context omitted.

Yeah. Seriously, why not dart. Any clue, anybody?

Dart requires loading a dart runtime js file on to the page, as far as I know. And I think they would claim Typescript is javascript + some extra stuff on top, whereas dart is a whole new language to learn.

No Dart compiles to JS. Obviously there is some overhead with transpiling languages, but it's actually pretty small. They have done a good job with it.

Re: Angular 2: Built on TypeScript

#39
post #3

This isn't really a big jump, as they were using AtScript before which was really just a forked TypeScript: https://docs.google.com/document/d/11YUzC-1d0V1-Q3V0fQ7KSit9... They must have convinced Microsoft to accept their patches into mainline TypeScript.

Nope, AtScript was doing runtime type checking (AtScript is basically traceur with some experimental features) while Typescript DOESNT. To be fair , I don't care, but that's an important precision.

It means that the Angular team is giving up on traceur or maybe traceur and typescript will merge somehow in the future.

Post reply on HN