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

0

u/[deleted] Aug 20 '20

[deleted]

47

u/funguyshroom Aug 20 '20

Congrats, you found a bug in an 11-16 year old piece of code

6

u/InertiaOfGravity Aug 21 '20

That's an accomplishment

18

u/sparr Aug 20 '20

Good catch. I had not noticed that. I agree, it looks like that bug overrides the one I was pointing out :)

14

u/AboutHelpTools3 Aug 21 '20

When a bug saves you from another bug.

2

u/Notorious4CHAN Aug 21 '20

When you're terrified to improve a code base because fixing a bug breaks an unknown number of features which relied on it so you just comment it and update your resume...

6

u/PaintItPurple Aug 20 '20

Nah, that's a bug. Though it doesn't really invalidate the comment's point, since main source of the bug is just reusing the name variable, so the "windows 9" bug would still exist even if that one were fixed.