4 ms·
I doubt it will happen. Zerothly, zero-based isn't as good as 1-based indexing for mathematics and science. And firstly, nobody want to change it. https://gith
by cormullion 11y ago
I doubt it will happen. Zerothly, zero-based isn't as good as 1-based indexing for mathematics and science. And firstly, nobody want to change it.
https://github.com/JuliaLang/julia/issues/558 https://github.com/JuliaLang/julia/issues/558
- superbatfish 11y ago>zero-based isn't as good as 1-based indexing for mathematics and science [citation needed] >nobody want to change it. Love the claim here, followed by a link that reveals an ongoing controversy. True, the core developers don't want to change it, so it's not going to change. They chose to ignore the protests of many would-be users of the language.
- ihnorton 11y agoIt is worth noting that Fortran, MATLAB, Mathematica / Wolfram Language are all 1-indexed. These are, by far, the most influential and widely-used languages in numerical and mathematical programming for the past ~60 years.
- superbatfish 11y agoSure, we should examine the features of languages past, keep the good things, and leave out the bad things. I thought that Julia was aiming for Python's niche, i.e. good at numerical stuff, but also decent at inter-operating with other languages. Argh. We were so close to leaving 1-based indexing behind as a historical relic. But now it seems we'll be stuck with it for a while longer. I'm not saying we can do anything about it now. I just want someone to validate my frustration :-)
- gct 11y agoFrustration validated friend