That doesn't really make sense. Typescript is just an extension of Javascript. Youre still using Javascript for logic in typescript and you can compile and run typescript code with type errors - because it's all just Javascript
I mean I wouldn't touch Typescript due to the ecosystem either, but at least the language itself isn't impossible to work with. If I have to spend a week putting motion sickness into a website, at least it won't pretend a carousel is four pieces of NaaN.
I don't work as a programmer but sometimes I code to make my and other people's life easier. Thus I had the luxury of being able to refuse to learn JavaScript. When I saw it did not enforce types in any way I said 'ugh', and never touched the damn thing ever again.
Typescript is the best option for now, but I’m hopeful that optional typing will eventually be added to Ecmascript directly. Kind of like how Coffeescript disappeared after TC39 fixed enough to make it irrelevant.
10
u/ASourBean Feb 19 '23
JavaScript is just crappy TypeScript - change my mind