logoalt Hacker News

_kst_today at 6:12 PM2 repliesview on HN

They hadn't yet decided whether to count from 0 or from 1.


Replies

cwmmatoday at 6:26 PM

Surprisingly this comes up more then you'd think, for instance in Ancient Rome, tomorrow is two days away so all the dates are off by one from what you'd think it was. They mainly count down and it goes, 5, 4, 3, day before, day.

show 2 replies
kpstoday at 6:40 PM

“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.” — Stan Kelly-Bootle (first person to obtain a postgraduate degree in computer science)