This often helps to make the intend of code more clear compared to computing the index manually in the caller.