News for hackers. Stuff that matters.
Re:Julia Language Co-Creators Win James H. Wilkinson Prize f... by coldtea on Wednesday January 23, 2019 @10:39AM (#18979082)
>It's the difference between numbering the contents of the list (1 indexing), and measuring the distance from the beginning of the list to the start of the item (0 indexing).

The problem is that one is indeed an indexing (numbering the contents 1...X...N and asking for item X, customers[X]), whereas the other is not, but is used as an indexing (e.g. customers[5] is not getting the 5th item but the sixth).

Re:Julia Language Co-Creators Win James H. Wilkinson Prize f... by Twisol on Wednesday January 23, 2019 @11:31AM (#18979682)
Where does your definition of "an indexing" originate? The word "index" literally means "to point at" (hence, index/pointer finger), and in this sense, every element may indeed be indexed -- in this case, by means of a unique integer.

If I had to give a name to the concept you're talking about, it would be an "ordinal index".

Re:Julia Language Co-Creators Win James H. Wilkinson Prize f... by e12e on Wednesday January 23, 2019 @03:06PM (#18982226)
Index finger, or first finger, right next to the zeroeth finger, the thumb... ;)
Re:Julia Language Co-Creators Win James H. Wilkinson Prize f... by coldtea on Wednesday January 23, 2019 @01:52PM (#18981340)
>If I had to give a name to the concept you're talking about, it would be an "ordinal index".

Which is both the naive understanding of a numeric index in everyday life in general, and the most common case in mathematics (and most math/scientific software).

Re:Julia Language Co-Creators Win James H. Wilkinson Prize f... by vvillena on Wednesday January 23, 2019 @12:43PM (#18980485)
In 1-based arrays the number is an index, but in 0-based arrays it is an offset. Languages like C or Rust make this behavior very explicit.