Re: [VOTE] [RFC] Final anonymous classes
| From: | Derick Rethans | Date: | Sun, 03 Dec 2023 16:34:47 +0000 |
| Subject: | Re: [VOTE] [RFC] Final anonymous classes | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121914@lists.php.net to get a copy of this message | ||
On 3 December 2023 14:49:12 GMT, Nikita Popov <nikita.ppv@gmail.com> wrote:
>On Sun, Dec 3, 2023, at 11:40, Daniil Gentili wrote:
>> Hi all,
>>
>> I've just opened voting for the final anonymous classes RFC @
>> https://wiki.php.net/rfc/final_anonymous_classes.
>>
>> Voting started now, and will run until December 18th 2023, 00:00 GMT.
>
>For the record, I've voted against this proposal because I believe it should have gone with
>option 2, that is to *always* make anonymous classes final.
>
>It makes very little sense to me that everyone needs to explicitly mark their anonymous classes
>as final just because there is a class_alias loophole that could, in theory, have been used to
>extend anonymous classes in the past. Especially given that there is no evidence of this
>"feature" being used in the wild (or if there is such evidence, it was not presented in
>the proposal).
>
>Regards,
>Nikita
I agree with this, and would also say that this RFC is the most thin one I've seen.
There is no reasoning, or examples, or pretty much anything else in it.
cheers
Derick