Re:Go 2, here we come
by a1369209993 on Thursday November 29, 2018 @10:56PM
(#18566535)
I'm not sure about go, but in C this could be:
for(size_t i = zn; i-- > 0 ;) printf("%s\n",n[i]);
(This is a large part of why unsigned over/underflow is well-defined behavior in C.)
I want to emphasize that I do not know the true answer to this question.
I think that indexes are int to play nicely with a decrementing loop counter. Doing:
requires i to be signed due to the last iteration.