News for hackers. Stuff that matters.
Re:Julia 0.5 release by StefanKarpinski on Monday September 19, 2016 @06:54PM (#12535450)
And Fortran, where it works fine. Perl lets you change the array index offset but everyone warns you that your computer will reach out and slap you in the face if you do. As is often the case, the devil is in the details.
Re:Julia 0.5 release by Avshalom on Monday September 19, 2016 @07:00PM (#12535489)
In perl is it APL style where it changes the index for the entire world (until changed again) or is it Fortran/Pascal style where you are expected to declare the lowest/highest index per array?
Re:Julia 0.5 release by PeCaN on Monday September 19, 2016 @07:04PM (#12535513)
APL-style with a global index origin ($[ in Perl, à la ⎕IO in most APLs).