Re:Angular 2 Core
by jarek-foksa on Saturday October 25, 2014 @07:27PM
(#8509750)
I wouldn't call TypeScript an "ECMAScript 6 with types". It feels more like a superset of ECMAScript 5 as it introduces non-standard features such as static class properties and public/private scoping while major ES6 features such as proxies, symbols, generators, modules or block scoping are not supported.
Re:Angular 2 Core
by omarelamri on Saturday October 25, 2014 @11:48AM
(#8508510)
Yeah, it definitely is EcmaScript 6. They've added the "class" and "constructor" keywords. Typescript is very mush modeled after EcmaScript 6 anyways, so technically it can be both. But I'm sure it's EcmaScript6, because that's what Angular 2 is written in.
Re:Angular 2 Core
by joshkpeterson on Saturday October 25, 2014 @01:53PM
(#8508834)
See the post about Google's AtScript that was on HN yesterday.
Re:Angular 2 Core
by omarelamri on Saturday October 25, 2014 @08:00PM
(#8509824)
So is this basically TypeScript with annotations and types available at runtime?
I'd venture it's ecmascript 6 being used, as Google suffers NIH syndrome too..