Post

TypeScript RFC: `as` → `unsafe_as` `any` → `unsafe_any` `!` → `!!!` and a tsconfig strict flag to disallow each (I know linters support this already!)

2 reposts30 likes

I line the idea but have to suggest the following: `as` → `as_do_not_use_or_you_will_be_fired` `any` → `any_do_not_use_or_you_will_be_fired` `!` → `!_do_not_use_or_you_will_be_fired`

It took me a while to identify the last one as the "damnit" (null forgiving) operator. I would maybe remove that at all, because it always leads to pain. Renaming the others: yes, please!!! (first I only used one ! but that's not allowed... 😎)