News for hackers. Stuff that matters.
Re:Again on 0-based vs. 1-based indexing by samatman on Wednesday January 20, 2021 @01:44PM (#25850211)
Did you mean open range? I've never encountered a circumstance where closed ranges are useful, though I presume they exist.

And yes, I think any typed language with a less expressive range syntax than Ada has some work to do. That still leaves open the question of the default, and I maintain that 0 <= .. < n is the correct one.

There are no comments on this comment yet.