Slice 'first' confused#4769
Conversation
hkBst
left a comment
There was a problem hiding this comment.
Your change does not seem to address the issue you mentioned. Second -> 2nd -> element a[2] is the same confusion as First -> 1st -> a[1]...
|
The 'first' I mentioned comes from 'by storing a reference to the first element', so changing it to |
|
Ah, I see. Maybe just replace "first element" with "starting element"? Then it doesn't matter what index the example uses... What do you think? |
|
Slice has a Moreover, changing 'first' to 'starting' may still lead people to misunderstand 'first of slice' as 'first of original' |
|
@A4-Tacks Then perhaps we need to be more explicit and say "its first element" instead of "the first element". |
|
Looks good, I hope it's useful |
In a discussion, due to the translation of
first elementas1st element, some people understood it as1st element of variable aThen he felt confused about
1st element of variable a should be a[0]