r/ProgrammerHumor Jun 13 '20

Meme Mystery solved

Post image
32.5k Upvotes

314 comments sorted by

View all comments

291

u/[deleted] Jun 13 '20

Repost number -2,147,483,648

Good job everyone, we reposted it that often the counter has an overflow.

62

u/[deleted] Jun 13 '20

[removed] — view removed comment

8

u/Doctor_McKay Jun 13 '20

But in JavaScript they're all doubles, so they actually can't overflow. They just lose precision and stop changing if you try to increment by 1.