Let’s say I want to access 4 elements of an array. Today, I do something like:
Wouldn’t be nice if we have a syntax to access elements using relative indices? Something like:
which will return 4 elements after (and including)
data[i]? (This is not a good syntax, since it is currently valid and will return the element
data[i+4], I am just without ideas to propose a syntax for that, I just want to raise a discussion about the subject).