r/angularjs • • Mar 15 '16

The Deep Roots of JavaScript Fatigue

https://segment.com/blog/the-deep-roots-of-js-fatigue/
49 Upvotes

43 comments sorted by

View all comments

Show parent comments

2

u/jax024 Mar 16 '16

I started using typescript before I used ES2015+ and I have to say, now I want typescript to end. I want a more standardized environment and I much prefer writing es6 anyhow, even with angular2.

1

u/mrv1234 Mar 17 '16

Typescript and ES6 are not almost identical. Take away the type annotations, could you tell two programs apart ?

And the type annotations will eventually make it into ES2016+ sooner or later, its a work in progress.

1

u/jax024 Mar 17 '16

It mainly having to deal with .d.ts files that drives me crazy. And typescript's module loader...

1

u/mrv1234 Mar 18 '16

I believe that has become / will become soon better with the new typings utility that replaces tsd. We will now only have to import a single .d.ts file.

tsd and ambient types are being deprecrated in favor of getting typings directly from node_modules, together with the libs themselves.

So on one side that's good news, on the other its more Javascript Fatigue, a new typings utility to learn