Re: [RFC] [Under Discussion] Sealed Classes
| From: | Larry Garfield | Date: | Tue, 01 Mar 2022 17:24:54 +0000 |
| Subject: | Re: [RFC] [Under Discussion] Sealed Classes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117181@lists.php.net to get a copy of this message | ||
On Mon, Feb 28, 2022, at 9:49 PM, Saif Eddin Gmati wrote:
> Hello internals,
>
> Following up on last years email, I have decided to move along with the
> Sealed classes RFC after some changes, and put it up for discussion.
>
> Previous discussion: https://externals.io/message/114116
> RFC: https://wiki.php.net/rfc/sealed_classes
Why not "final ... permits" or "final ... for" as options? Effectively what is
created here is a final class/classic-thing, but with holes in it. Otherwise, there become
questions about why final and sealed have different keywords when they're such similar things.
--Larry Garfield