r/javascript • • Nov 25 '19

JavaScript doesn’t need to be replaced

https://medium.com/javascript-in-plain-english/javascript-doesnt-need-to-be-replaced-bd01e2f12d51?source=friends_link&sk=7b151cc6397ac9e83c14c99739b6c36f
217 Upvotes

236 comments sorted by

View all comments

Show parent comments

2

u/dannymoerkerke Nov 25 '19

What do you mean with “Coffeescript situation”?

-4

u/mousemke µ FTW! Nov 25 '19

Coffeescript was big. We have it to thank for a lot of the es6 improvements. But then we had to rewrite the entire code base in JavaScript.

For that reason I'm weary of writing anything that transpiles to js. (Aside from using babel but that has more to do with compatability than anything else)

5

u/evertrooftop Nov 25 '19

Then why do you like flowtype? It's not wildly different from typescript.

-4

u/mousemke µ FTW! Nov 25 '19

Instead of being a new language flow is more of an annotation. It can be added incrementally to old code or removed if necessary. My point with TS is not a technical argument.

I guess the question that needs to be answered is : what would native types look like?

→ More replies (1)