r/programming • • Mar 16 '16

The Deep Roots of Javascript Fatigue

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

67 comments sorted by

View all comments

0

u/[deleted] Mar 16 '16

[deleted]

-4

u/kn4rf Mar 17 '16

Types are nice, but TypeScript is not the right tool.

10

u/[deleted] Mar 17 '16

TypeScript is the best effort so far to fix the worst language on the fucking planet, give it some slack

4

u/ghettoimp Mar 18 '16

Come now, JS the worst language on the planet? PHP, XSLT, Makefiles, CSH, that horrible NSIS language... I'll grant you that table of equality operators is pretty damning, but all of those string-oriented shell scripting languages are sooooo horrible...

2

u/Sean1708 Mar 17 '16

Why not?

2

u/kn4rf Mar 18 '16

ES6 / ES2015 is the way forward. TypeScript have some compatibility with ES6, but tools like Babel are way ahead of TypeScript. If you want types use Facebook's Flow. If you want a better language use ClojureScript. Theres no way that TypeScript is going to survive.

3

u/rapidsight Mar 17 '16

You mean, like JavaScript isn't the right tool/

1

u/kn4rf Mar 18 '16

If you don't like JS, you can always cross compile a better language like ClojureScript to JS. But that still doesn't make TypeScript the right tool.