DEV Community

Discussion on: Is TypeScript Really... A Language??

Collapse
 
matthewbdaly profile image
Matthew Daly

I think Flow is a better approach than Typescript, because it doesn't try to be more than a type system for Javascript. It's just an add on for the language. However, I think both Flow and Typescript should be considered as transitional solutions.

In the longer term there should be a push in Javascript to add native support for some sort of type annotations for Javascript, and Flow annotations seem like a good starting point for that.

Thread Thread
 
bytebodger profile image
Adam Nathaniel Davis

In the longer term there should be a push in Javascript to add native support for some sort of type annotations for Javascript

This is basically how we got to TypeScript. A good while back, Microsoft was actively participating in the ECMA standards group, and they were all poised to introduce much of what we now call TypeScript as part of the next ECMA spec. But at the last minute, there was a lot of debate and protest and MS's proposed changes got pulled. Eventually, MS released them as its own open source project - and now we have TypeScript.