What are the use cases for preferring the i[array] syntax over the array[i] syntax? In other words, consider the following code:
int i[2] = {0, 1};
int j[2][2] = {{2, 3}, {4, 5}};
assert(i[0] == 0);
assert(i[0] == 0[i]);
assert(j[0][0] == 2);
assert(j[0][0] == 0[0[j]]);
Would there be any benefit to deprecating the reversed syntax (i.e. i[array])? Since there is talk about eventually supporting multi-index subscripting:
assert(j[2][2] == j[2,2]);
would the reversed subscripting cause problems?
Thanks for your input,
Kyle