5 ms·
0-based indexes are the best
- eesmith 1y agoDijkstra, 1982, "Why numbering should start at zero" - https://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831.html https://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831...
- mtmail 1y ago> That's why i write 11th september 2025 as "2025-8-10" I read that as satire or trying to bait people (tabs vs spaces etc).
- taylodl 1y agoActually he's wrong, it would be 2024-8-10 - after all, to be consistent we'd need to start counting our years at 0.
- Velocifyer 1y agoI already count years at 0
- eimrine 1y agoWhat is the first letter of the alphabet, is it "B"?
- deleted 1y ago[deleted]
- Velocifyer 1y agoIt was none of those.
- Jtsummers 1y agoIt reads like a bad attempt at trolling. A better version would have been 5-10 paragraphs on why 0-based is better, and then hit the reader with the punchline. Instead, it's a very short piece that jumps straight to their reasoning that they're confused by things every grade schooler understands and so 0-based is better. Which is not a terribly persuasive argument. If they intended it to be a serious argument for 0-based indexes, they should not have admitted to being less intelligent than most 5-year-olds.
- Velocifyer 1y agoIt's not trolling. It seems like people hate my opinions so they call it trolling
- Velocifyer 1y agoIf this was trolling then i would have succeded, but i was trying to encourage you to use 0-based indexes so i failed
- Jtsummers 1y ago> i was trying to encourage you to use 0-based indexes so i failed I'd say you never actually tried. Your argument was unserious. It was simply: "1-based indexing confuses me". Even if people try to treat it as an actual argument, it's weak. Spanish confuses me, should Spanish speakers switch to English on my behalf? No. I should learn Spanish, get an interpreter, or use tools to help me converse with them. And 1-based indexing is much simpler than Spanish. If it actually confuses you then something else is going on. Every 5-year-old I know understands it, that's a low bar to beat for an adult. Go see Dijkstra's argument for 0-based indexing, that's an actual argument. Yours was not.
- pestatije 1y agolets see: whats the 1st number?
- Velocifyer 1y ago0
- lcnPylGDnU4H9OF 1y agoOther guy got it wrong. It's 2.