News for hackers. Stuff that matters.
Re:Why Python uses 0-based indexing. It's because of slices by anonymoushn on Wednesday October 23, 2013 @05:54PM (#6602008)
Matlab does this, and Julia is following suit out of a desire to be attractive to Matlab users. I would really rather it didn't.

The languages that do this seem to pretty uniformly use closed intervals, so that [1:length] is the whole thing, while in python [0:length] is.

There are no comments on this comment yet.