this post was submitted on 19 Sep 2024
1367 points (98.5% liked)

Programmer Humor

32061 readers
2102 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ElectricMoose@lemmy.world 1 points 1 day ago (1 children)

Interestingly, we've got the same glitch in the Gregorian calendar, where the year 0 doesn't exist. So the 21st century started in 2001…

[–] CanadaPlus@lemmy.sdf.org 1 points 14 hours ago* (last edited 14 hours ago)

Yup. We should really zero-index century names and years AD/BC as well, but we don't. If we were still using Roman numerals it would be no big deal, but we rarely do, so there's a confusing clash. I'm not sure if it was this programming humour community or another where I had a big exchange on the topic before.

I suppose you could have some kind of positional system that's one-indexed, so 999AD = 1111999AD, and 2000 would be written 2111, but you'd have to completely redo the way arithmetic works, and that defeats the point a bit. And, the new 999 would not be our 999, because it's effectively base 9.