this post was submitted on 26 Jun 2023
164 points (97.1% liked)

Programmer Humor

25460 readers
1061 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 5 comments
sorted by: hot top controversial new old
[–] infeeeee@lemm.ee 19 points 2 years ago

It would overflow to minus 2^31, as she says it's signed, so not 1970 (that's zero) but 1901 would follow: https://en.m.wikipedia.org/wiki/Year_2038_problem

[–] Jakylla@sh.itjust.works 14 points 2 years ago (1 children)
[–] infeeeee@lemm.ee 20 points 2 years ago

Relevant xkcd:

relevant xkcd

[–] PhilipMottershead@lemmynsfw.com 1 points 2 years ago* (last edited 2 years ago)

Tbf they fixed in kick the can way and are going to use 33 bit signed interger. That's one option being thrown around anyway

[–] build_a_bear_group@hexbear.net 0 points 2 years ago

Literally 441763201