Something like that would be my guess for what’s next, once this current trend has run its course.
Something like that would be my guess for what’s next, once this current trend has run its course.
You can also get the same type checking benefits outside of the editor (eg in CI) with very minimal tooling effort. That’s what Svelte is doing.
Granted I work on JS projects which embraced this from the opposite direction (gradual typing where nothing is enforced statically), and it’s strictly worse than just using the tools how they work best (you’d be hard pressed to make an incremental decision about anything without knowingly preserving bugs or increasing the incremental scope).
Anyway, the alternate timeline you seek already exists. It’s just so optional that you could easily miss it.
https://trends.google.com/trends/explore?q=%2Fm%2F0n50hxv,%2... (last 12 months worldwide)
Last datapoint: TypeScript - 10, JavaScript - 82
That said, I think you're right that JS is still quite popular.