DEV Community

Discussion on: TypeScript before JavaScript?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Lots to consider here, I don't think JavaScript would exist at all. Options typing makes typescript equal to JavaScript. Okay what about if JavaScript had a type system that could be enforced. Typescript would become redundant?

Thread Thread
 
deciduously profile image
Ben Lovy

I don't think JavaScript would exist at all

I think I agree. Typescript exists to be an enforceable type system for JavaScript, so if such a thing was already built in we wouldn't need something else

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

You underestimate the developer community 🤣 there is a reason that reinvented of wheels is a common theme. But you have to ask, is the wheel the most optimal shape? So many questions, so much to write about!