News for hackers. Stuff that matters.
Re:Julia 1.0 by ivarru on Thursday August 09, 2018 @02:54PM (#17727292)
As someone who should be in the target audience for Julia, I am sad to see that they have not switched to 0-based arrays before launching version 1.0. I consider this is an indication of a broken design process and thus a reason to stay away from the language. (The fact that ranges include both endpoints - rather than being half-open as in Python - is another such indication.)
Re:Julia 1.0 by marvy on Thursday August 09, 2018 @09:46PM (#17730090)
> the fact that ranges include both endpoints - rather than being half-open as in Python - is another such indication

No, it's the same indication, twice. Once you've decided on 1-based, you almost definitely want to include both endpoints. Else you end up saying things like a[1:n+1] to indicate "the whole array please", which is annoying.

Re:Julia 1.0 by liquid153 on Thursday August 09, 2018 @02:57PM (#17727326)
lol, get over yourself dude.