3 ms·
The article this one points to has had a few threads: The origin of zero-based array indexing - https://news.ycombinator.com/item?id=6879478 https://news.ycomb
by dang 4y ago
The article this one points to has had a few threads:
The origin of zero-based array indexing - https://news.ycombinator.com/item?id=6879478 https://news.ycombinator.com/item?id=6879478 - Dec 2013 (107 comments)
Zero-based arrays and the mythology of programming - https://news.ycombinator.com/item?id=6708409 https://news.ycombinator.com/item?id=6708409 - Nov 2013 (1 comment)
Citation Needed - https://news.ycombinator.com/item?id=6595521 https://news.ycombinator.com/item?id=6595521 - Oct 2013 (2 comments)
Threads about the EWD mentioned by jaapsen01:
Why numbering should start at zero (1982) - https://news.ycombinator.com/item?id=22162705 https://news.ycombinator.com/item?id=22162705 - Jan 2020 (220 comments)
Dijkstra's argument on why numbering should start at zero [pdf] - https://news.ycombinator.com/item?id=17850441 https://news.ycombinator.com/item?id=17850441 - Aug 2018 (1 comment)
Why numbering should start at zero (1982) - https://news.ycombinator.com/item?id=17765034 https://news.ycombinator.com/item?id=17765034 - Aug 2018 (63 comments)
Why numbering should start at zero (1982) - https://news.ycombinator.com/item?id=13186225 https://news.ycombinator.com/item?id=13186225 - Dec 2016 (216 comments)
Why numbering should start at zero (1982) - https://news.ycombinator.com/item?id=9761355 https://news.ycombinator.com/item?id=9761355 - June 2015 (47 comments)
Dijkstra: Why numbering should start at zero - https://news.ycombinator.com/item?id=777580 https://news.ycombinator.com/item?id=777580 - Aug 2009 (71 comments)
Also these. Others? I'm a little surprised there aren't more.
Why do we count starting from zero? - https://news.ycombinator.com/item?id=17923391 https://news.ycombinator.com/item?id=17923391 - Sept 2018 (1 comment)
Why C Arrays Start at Zero: I Don't Know - https://news.ycombinator.com/item?id=11228267 https://news.ycombinator.com/item?id=11228267 - March 2016 (3 comments)
Why C Arrays Start at Zero: I Don't Know - https://news.ycombinator.com/item?id=11114704 https://news.ycombinator.com/item?id=11114704 - Feb 2016 (2 comments)
- cannam 4y agoPerhaps also worth adding that the linked article (the one titled "Citation Needed") itself originally had hundreds of comments beneath it, many quite argumentative, which seem to be now missing - I guess lost in a site update. It was a very contentious article. I'm sympathetic to its author's approach - we talk about indexing and it's a strangely fascinating topic but the history of it hasn't been all that well dug out. We do indeed tend to respond to articles like this by going "well obviously [x]-based is good because" - you can see that at work in this discussion here - but those are not necessarily the true historical reasons. But I think the author made a leap too far, the article was a bit too brittle, and it landed in a slightly too argumentative spot.