On Dec 18, 10:23 am, DNNX <6aLLIaPu... / gmail.com> wrote: > On 18 ΔΕ 17:54, Robert Klemme <shortcut... / googlemail.com> wrote: > > > On one hand you are right. On the other hand, begin and end indexes > > are asymmetric anyway: you know that the starting index is always 0 > > but the ending index can have arbitrary values. ... > > Hm... On the other hand, end and begin indexes are asymmetric anyway: > you know that the ending index is always -1 but the starting index can > have arbitrary values. > > Isn't this a symmetry? > > Best regards, > Viktar No, because "-1" is a special value...it's got magic in it. It can magically mean 5, or 10, or even 12 (because it's magic). ;) "-1" is just sugar for #length, and #length is always a side-effect of a container, whereas '0' is a constant entry point. Regards, Jordan