3/6/2026 at 9:31:30 PM
> strict is now true by defaultI would still have a full head of hair if this had been the case since the beginning. Nonetheless I am glad that we got here in the end.
by alembic_fumes
3/6/2026 at 11:13:55 PM
TypeScript never would’ve taken off if it had been strict from the beginning, it would’ve been just another forgotten gravestone next to Dart and CoffeeScript. I’m not saying those are bad languages, they’re not, but anything other than a very slow and gradual opt-in transition was just a non-starter. It was painful, but TypeScript played the long game.by Analemma_
3/7/2026 at 5:03:18 PM
Many of the strict checks did not even exist when TS was first created.by paulddraper
3/9/2026 at 4:42:35 PM
Some of these missing checks were why Flow was an attractive choice when weighing [Flow vs Typescript][1].For example, it wasn't until Typescript 2.0 that we got null checks!
- https://www.typescriptlang.org/docs/handbook/release-notes/t...
function getLength(s: string): number {
return s.length; // Runtime crash if s is null/undefined
}
getLength(null); // TypeScript <2.0 would not error here
[1]: https://djcordhose.github.io/flow-vs-typescript/2016_hhjs.ht...
by romellem
3/6/2026 at 9:40:21 PM
I came to point that out too. What an awesome development. I think this will have a meaningful impact on the general quality of TS projects over the coming years.by steve_adams_86
3/6/2026 at 11:48:21 PM
If it had been, maybe I wouldn't have had to spend years getting buy in for turning on that setting in my team's codebase.by chrysoprace
3/6/2026 at 10:21:38 PM
Just use denoby 369548684892826
3/7/2026 at 5:04:03 PM
Exactly when do you think demo started.by paulddraper