3 ms·
> All evidence points to the fact that TypeScript does not have any positive effect on bug density. Its value is purely subjective and speculative. That is on
by veidr 8y ago
> All evidence points to the fact that TypeScript does not have any positive effect on bug density. Its value is purely subjective and speculative.
That is one of the weirder statements I've come across on this website.
First of all, there are tons of analyses publicly available — from well-known companies like Lyft, Airbnb, etc. — that document reduction in software defects solely from TypeScript's compile-time checks. (Source: uh, Google "TypeScript".)
Second, it is virtually impossible to code for a day in TypeScript without it catching bugs. Granted, many of them would be bugs that you would have caught as soon as you ran your program, but TypeScript catches them while you type them so you never do run the program with that bug.
(That's the secret actual reason it's named Type Script.)