News for hackers. Stuff that matters.
Re:Why we created Julia - new language for fresh approach to... by jballanc on Saturday February 18, 2012 @12:44PM (#3607115)
With 1-based indexing, length == last index.

Does 0-based indexing have any advantage, beyond ability to do pointer arithmetic with indexes?

Re:Why we created Julia - new language for fresh approach to... by scott_s on Saturday February 18, 2012 @10:55PM (#3608607)
In 0-based indexing, n % length is a value inside the range.