News for hackers. Stuff that matters.
Re:Nelua Programming Language by ufo on Tuesday August 24, 2021 @08:47PM (#28296841)
I have to confess that this EWD on 0-1 indexing is one of my pet peeves. Whenever the topic comes up, someone will invariably link to it uncritically, even though Djikstra's argument is biased in favor of 0-based indexing.

For example, he talks about how (a < i ≤ b) is unnatural, but then fails to mention that this happens with 0-based indexing when we have to iterate backwards.

There are no comments on this comment yet.