4 ms·
> I'm not sure if you're saying that 1-indexed arrays are counterintuitive, It is all a matter of what one is used to. Quoting myself: > I guess counter-intui
by mejutoco 3y ago
> I'm not sure if you're saying that 1-indexed arrays are counterintuitive,
It is all a matter of what one is used to. Quoting myself:
> I guess counter-intuitiveness is in the eye of the beholder.
1-indexed arrays are not common in programming languages. There is nothing wrong with them, but most languages are 0-indexed, so for most programmers a 1-indexed language is something slightly unexpected.
For non-programmers it might be different.
- 16bitvoid 3y agoAh, I see what you were saying. I read your comment as being of the perspective of a non-programmer, given the context of the parent comment you replied to. Specifically, this part: > Given the premices on which the Python language was designed (giving access to programming to non-programmers)