Earlier quoted context omitted.
That's for languages that can't define arrays with custom start/stop indexes. But those that have custom indexes they can very easily expand/implement as helper class (for example array.indexFromLast(1) which means array[Length(array)]. This way you can have best of both worlds.
Surely if your language has custom indexes / ranges `Length(array)` is completely broken and the language provides something like "Index`Last" you can hook on? Because an array with indexes [3, 7) has length 4, but 4 is not the index of the last element.
C/C++ doesn't have custom array indexes and as such is returning the last element of said array.
Delphi has custom array indexes and as such, taking your example with defining an array in the form , I would not get the last element in case of function as in to access example_array[7] element. Delphi also has function so you can iterate through a custom defined array by using keyword with the help of them. Option 2 would be to actually build my own helper (this is the most wanted case when you're dealing with multi-dimensional arrays that also have custom indexes) and I would have something like to access example_array[7] element.
Hope this cleared the confusion.