News for hackers. Stuff that matters.
Re:Julia 1.0 by jebej on Thursday August 09, 2018 @11:44AM (#17725178)
Re:Julia 1.0 by renox on Thursday August 09, 2018 @06:31PM (#17729127)
The problem is the default behaviour: in Ada you can use whatever you want, in Julia the default is 1-based which is quite controversial.
Re:Julia 1.0 by timholy on Friday August 10, 2018 @02:01AM (#17731055)
Picking whatever you want is one line of code, and similar to the line you'd need to allocate any array. And your choice propagates to the downstream operations.

Instead of complaining in the abstract, check it out, you'll be impressed. https://julialang.org/blog/2017/04/offset-arrays

Re:Julia 1.0 by renox on Friday August 10, 2018 @11:36AM (#17734274)
I already know about this but if you use someone else's code in a library for example in Julia the library will most likely only work with 1-indexed array, in Ada it will work with any base index.

Default matters!

Re:Julia 1.0 by rrock on Friday August 10, 2018 @12:21PM (#17734684)
It's straightforward to write library code in Julia that handles any type of index. If it doesn't, it is probably old code from before the time before offset arrays. Take a look at Tim's linked blog post.
Re:Julia 1.0 by renox on Thursday August 16, 2018 @11:27AM (#17775458)
It is straightforward to create a language where a user can specify any type of index (like Ada), if you need to import a library everywhere to have the correct behaviour then this library should be a part of the language instead.
Re:Julia 1.0 by FabHK on Friday August 10, 2018 @09:46AM (#17733169)
The controversy reminds me a bit of the "Python uses whitespace semantically, oh my" back in the days. Close to bikeshedding: Lots of discussion about a very minor point that everyone has an opinion on though.

(not referring specifically to you here!)