Re:Julia 1.9.0 lives up to its promise
by xedrac on Saturday May 13, 2023 @04:52PM
(#35932587)
I used Julia for a project back in 2016, and had the same adverse reaction to 1-based indexing. It's the same reason I have a hard time with Lua. Why? I suppose it's all rather superficial, but it's one of those things that just grates on me and I'll avoid it if I can. I'm not sure there's a logical explanation, but I've found the sentiment to be rather common among developers.
[ Parent
| on HN ]
Re:Julia 1.9.0 lives up to its promise
by sweezyjeezy on Saturday May 13, 2023 @05:02PM
(#35932677)
Same, but I think it's more of a familiarity bias rather than a logical one. I think there is a strong argument to index from 1 as is done in MATLAB, R etc. since it matches the way most people refer and think about lists in reality.
A brave decision from the authors though, I think they would have got less flak matching the more popular 0-index languages.
Re:Julia 1.9.0 lives up to its promise
by sundarurfriend on Saturday May 13, 2023 @05:14PM
(#35932801)
> I think they would have got less flak matching the more popular 0-index languages.
Possibly, though those of us already in the space would have found it a (slightly) less pleasant language then.