Date: Thu, 19 Dec 2024 00:10:30 -0800
> On Dec 19, 2024, at 12:05 AM, Tiago Freire via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
>> I mean, dear lord, what if we make goto slightly less intuitive to use by stealing the label syntax for loop labels? It just doesn't matter, as long as we don't break existing uses.
>
> It will break all current usages of labels that have one of those control flow gadgets following it.
What are you talking about?
How does this break (:D) anything at all? `break some_label;` and `continue some_label;` are syntax errors today and that is the only syntax or semantic change.
> But the question is, do we need to?
We do not, happily this does not.
If you believe there is a case where existing correct code is broken, can you please show us because it’s clearly going to be news to us.
—Oliver
>
>> I mean, dear lord, what if we make goto slightly less intuitive to use by stealing the label syntax for loop labels? It just doesn't matter, as long as we don't break existing uses.
>
> It will break all current usages of labels that have one of those control flow gadgets following it.
What are you talking about?
How does this break (:D) anything at all? `break some_label;` and `continue some_label;` are syntax errors today and that is the only syntax or semantic change.
> But the question is, do we need to?
We do not, happily this does not.
If you believe there is a case where existing correct code is broken, can you please show us because it’s clearly going to be news to us.
—Oliver
Received on 2024-12-19 08:10:36