Re: Re: Final anonymous classes
| From: | Tim Düsterhus | Date: | Wed, 15 Nov 2023 19:03:32 +0000 |
| Subject: | Re: Re: Final anonymous classes | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121682@lists.php.net to get a copy of this message | ||
Hi
On 11/15/23 18:41, Daniil Gentili wrote:
I've created the RFC, I'd be more than glad to receive feedback: https://wiki.php.net/rfc/final_anonymous_classesThe official start of the discussion period should likely be announced in a separate thread that also contains the "RFC" keyword within the Subject, otherwise it might be missed. Regarding the RFC itself, I find the voting options unclear. It says that they are mutually exclusive, but it doesn't say what happens when multiple are accepted. Personally I can see myself voting for both "Option 1" and "Option 2", because I believe it is useful if users would be able to make them final for consistency, but I would find it even more useful if they would all be final by default, but would not find it useful to introduce a new 'open' keyword. Some other folks might want to see all anon classes final by default, but don't care about whether there is the escape hatch or not and thus would vote for all 3 options. (I'm happy to repeat that above paragraph in the new thread, once you create it, but this gives you some time to think about it already) Best regards Tim Düsterhus