Re: Request for opinions: bug vs feature - change intokenization of yield from

From: Date: Sat, 20 Jul 2024 14:30:22 +0000
Subject: Re: Request for opinions: bug vs feature - change intokenization of yield from
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi

On 7/19/24 00:51, Christoph M. Becker wrote:
And frankly, how much code would be affected? I mean, does anybody actually put a comment between yield and from? Is there a case where this may make sense? "Because we can" isn't a strong argument, in my opinion.
I don't really follow this line of argumentation: If folks do not use the syntax anyways, then we do not need to have this discussion, because the tools can just ignore it existing. That also means we do not need to revert the change in PHP. If folks use the syntax, then reverting the change is a breaking change for them. So either the revert is not doing anything at all, or the revert is actively harmful. I do not see a situation where reverting the change is a value-add. Best regards Tim Düsterhus

Thread (32 messages)

« previous php.internals (#124511) next »