Date: Mon, 18 Mar 2024 14:59:14 +0000
On Mon, 18 Mar 2024 at 14:21, Breno GuimarĂ£es via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> What do you mean by "However it would be further from 2-dimensional arrays." ? I mean, do we want it to be closer to 2-dimensional arrays?
I assume the suggestion is that it would be confusing for matrix[x,y]
to return an element of the matrix, but str[i,j] to return a slice of
the string. It would be using the same syntax for two different
things.
<std-proposals_at_[hidden]> wrote:
>
> What do you mean by "However it would be further from 2-dimensional arrays." ? I mean, do we want it to be closer to 2-dimensional arrays?
I assume the suggestion is that it would be confusing for matrix[x,y]
to return an element of the matrix, but str[i,j] to return a slice of
the string. It would be using the same syntax for two different
things.
Received on 2024-03-18 15:00:32