I was reading up on the new arrays with custom indices in 0.5. Now that array indices do not implicitly start with one, what's the generic replacement for index ranges like
A[2:end-1] Will there by something like A[start+1:end-1] or so? Also, since for safety reasons length(A) is now supposed to throw an error for custom-indexed Arrays (for safety, to prevent 1:length[A]), the current recommendation (http://docs.julialang.org/en/latest/devdocs/offset-arrays/) is to use length(linearindices(A)) instead of length() in generic code. This strikes me as very lengthy indeed (pardon the pun) and will make code less readable - how about a new length function like Base.len(A) = length(linearindices(A)) or similar? If there's no "official" replacement for length in Base, I suspect that packages will add their own internal version of it at some point. Also, people might get tempted to continue using length() out of laziness (if there's no short replacement) - resulting in code that fails for the new arrays.
