3 ms·
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 se
by anonymoushn 13y ago
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.