The TypeScript Dilemma: Did TypeScript Really Win?

TLDRJavaScript developers are reconsidering the use of TypeScript due to issues with code pollution and lack of productivity. While some big projects have decided to ditch TypeScript, it still remains popular for building applications with integrated tools. The future may see optional type annotations in JavaScript, potentially making TypeScript obsolete.

Key insights

🔑TypeScript adoption has grown significantly since its release in 2012, with many developers becoming True Believers.

🎉Big projects like Svelte, Drizzle, and Turbo have decided to remove TypeScript from their code bases, favoring vanilla JavaScript for better productivity.

🧠The use of TypeScript in libraries and frameworks can result in code gymnastics and the need for explicit type declarations.

💔Some developers are upset about TypeScript being removed from big projects, as it affects their TypeScript contributions.

🌟JavaScript may introduce optional type annotations in the future, potentially making TypeScript less necessary.

Q&A

Why are big projects like Svelte and Turbo ditching TypeScript?

The main reasons are code pollution, productivity issues, and the absence of a compile step, which allows for faster development.

Is TypeScript still popular for building applications?

Yes, TypeScript is still widely used for building applications, especially with tools like Svelt and Next.js that integrate TypeScript seamlessly.

What are the drawbacks of using TypeScript in libraries and frameworks?

Using TypeScript in libraries and frameworks can involve code gymnastics and the need for explicit type declarations, which may increase development complexity.

Why are some developers upset about TypeScript being removed from big projects?

Developers who have contributed to TypeScript in these projects may feel that their contributions are no longer relevant or valued.

What is the future of TypeScript?

The future may see the introduction of optional type annotations in JavaScript, potentially reducing the need for TypeScript in certain scenarios.

Timestamped Summary

00:03JavaScript developers are reconsidering the use of TypeScript due to code pollution and lack of productivity.

00:23TypeScript adoption has grown significantly since its release in 2012, with many developers becoming True Believers.

01:03Big projects like Svelte, Drizzle, and Turbo have decided to remove TypeScript from their code bases.

02:17Some developers are upset about TypeScript being removed from big projects, as it affects their TypeScript contributions.

03:06JavaScript may introduce optional type annotations in the future, potentially making TypeScript less necessary.