1483
Off by one solitude (fed.dyne.org)
you are viewing a single comment's thread
view the rest of the comments
[-] CanadaPlus@lemmy.sdf.org -1 points 1 month ago* (last edited 1 month ago)

Why the fuck would you spell it "1st" if it's not 1?

Edit: Which is not pronounced "onest". I think people might be missing the point here; I'm actually a fan of zero indexing.

[-] ElectricMoose@lemmy.world 1 points 1 month ago

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 1 month ago* (last edited 1 month 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.

load more comments (6 replies)
this post was submitted on 19 Sep 2024
1483 points (98.6% liked)

Programmer Humor

32415 readers
339 users here now

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

Rules:

founded 5 years ago
MODERATORS