3 ms·
> TypeScript's major weakness is that it doesn't want to break away from Javascript. No, it is not. That is exactly the major strength of Javascript! It is an
by zmix 7y ago
> TypeScript's major weakness is that it doesn't want to break away from Javascript.
No, it is not. That is exactly the major strength of Javascript! It is an addition to the landscape, for people, who can make use of it.
For everyone else, there is already Javascript "successors", that break with Javascript, but compile to Javascript. But they also are a new language, or, another language. You named one: Elm.
Not so TypeScript. I can gradually upgrade my codebase. And I can reuse knowledge and components, I already have. I am so happy about Typescript. How else could I continue using ES3 on the Windows Scripting Host and have modern Javascript tooling? For me TypeScript is the "better" Javascript. An evolution, rather than an exit strategy.