r/programming • • Aug 20 '20

Announcing TypeScript 4.0

https://devblogs.microsoft.com/typescript/announcing-typescript-4-0/
1.3k Upvotes

236 comments sorted by

View all comments

Show parent comments

26

u/everythingiscausal Aug 20 '20

But now you’ve got an index out of range bug on Windows 10!

31

u/kevincox_ca Aug 20 '20

I believe you mean Windows 3.10 🤓👈

(Also assuming a c-string you would get the null byte so perfectly safe anyways)

4

u/SemiNormal Aug 21 '20

Can't wait until Windows 3.11 is out! 😉

3

u/AboutHelpTools3 Aug 21 '20

Better for it to throw an exception rather than doing what it shouldn't be doing.

3

u/lolomfgkthxbai Aug 21 '20

But now you’ve got an index out of range bug on Windows 10!

I think you meant Windows 3.98.10