News for hackers. Stuff that matters.
Re:Julia Computing Granted $600k by Moore Foundation by gct on Sunday November 15, 2015 @02:37PM (#10570793)
I pray they make a breaking change before 1.0 and make it zero based
Re:Julia Computing Granted $600k by Moore Foundation by cormullion on Sunday November 15, 2015 @02:50PM (#10570859)
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

Re:Julia Computing Granted $600k by Moore Foundation by superbatfish on Sunday November 15, 2015 @11:27PM (#10572602)
>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.

Re:Julia Computing Granted $600k by Moore Foundation by ihnorton on Sunday November 15, 2015 @11:49PM (#10572659)
It 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.
Re:Julia Computing Granted $600k by Moore Foundation by superbatfish on Monday November 16, 2015 @02:42PM (#10576637)
Sure, 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 :-)

Re:Julia Computing Granted $600k by Moore Foundation by gct on Monday November 16, 2015 @11:28PM (#10579175)
Frustration validated friend
Re:Julia Computing Granted $600k by Moore Foundation by simonster on Sunday November 15, 2015 @02:48PM (#10570850)
Re:Julia Computing Granted $600k by Moore Foundation by Nrpf on Sunday November 15, 2015 @02:57PM (#10570902)
Actually I'm waiting for 3 based....
Re:Julia Computing Granted $600k by Moore Foundation by fanf2 on Monday November 16, 2015 @04:17PM (#10577229)
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration." - Stan Kelly-Bootle.
Re:Julia Computing Granted $600k by Moore Foundation by jkyle on Sunday November 15, 2015 @02:53PM (#10570879)
1 based indexing is very common in many math and statistics oriented languages and frameworks. Since that's the primary target audience for Julia, it makes sense they'd stick with it.
Re:Julia Computing Granted $600k by Moore Foundation by icholy on Sunday November 15, 2015 @02:42PM (#10570821)
Amen. As stupid as it may sound, this is the only reason I haven't gotten into it ...
Re:Julia Computing Granted $600k by Moore Foundation by gct on Sunday November 15, 2015 @04:42PM (#10571337)
No one understands our plight
Re:Julia Computing Granted $600k by Moore Foundation by superbatfish on Sunday November 15, 2015 @11:39PM (#10572629)
You're not the only one.

OK, this might sound even stupider, but I feel betrayed by the fact that otherwise good, technical people would voluntarily make such a major mistake, and then defend it so vigorously in the face of so many complaints.

Re:Julia Computing Granted $600k by Moore Foundation by superbatfish on Monday November 16, 2015 @02:58PM (#10576749)
OK, clearly some Julia fans down-voted my comment, perhaps because they misunderstood it. I was trying to say something about human psychology. We can admit that it is silly, but we can't pretend that it doesn't exist. This may be a bigger deal than they realize.

Programming languages are used primarily by humans, which means they must be designed with human psychology in mind. Today, Julia would have (even) more community support if not for this seemingly inconsequential decision. The fact that it seems to be succeeding anyway is largely in spite of, not because of, this design choice.