logoalt Hacker News

alembic_fumesyesterday at 9:31 PM4 repliesview on HN

> strict is now true by default

I 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.


Replies

steve_adams_86yesterday at 9:40 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.

show 1 reply
Analemma_yesterday at 11:13 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.

chrysopraceyesterday at 11:48 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.

369548684892826yesterday at 10:21 PM

Just use deno