The 1.13 alpha release announcement talks about 2-based indexing. I can find no useful discussion of what this means. Can anybody please explain the value / significance of 2-based indexing of arrays?
That was a lovely joke. Users would expect an alpha-1 release to come up before an alpha-2 relase, which wasn’t the case here. To explain the absence of alpha-1, the hint was that julia will start being a 2-based indexing language, i.e. indices of arrays, and counting in general, would start at 2 (1-based indexing is a somewhat hot topic, some people coming from other 0-based indexing language (C, python ,…) voice their dislike for 1-based indexing). This obviously can’t happen, it’s utterly unpractical, and would be breaking. The real reason why alpha-1 wasn’t released is explained in the post.
Continuing the discussion from Julia v1.13.0-alpha2 is now available:
The post indicates it’s a joke?
Maybe save japes like that until early April?
I am glad now that Array indexes are all even. Odd indexes are well odd and not even even. Makes it hard to form a balanced tree.
Thanks for this thread; I would have missed the great pun!
We should definitely move to 2-indexing in Julia 2.0 (and consistently 3-indexing in Julia 3.0)