Re: [RFC] Abstract final classes
| From: | Marco Pivetta | Date: | Thu, 27 Nov 2014 03:58:47 +0000 |
| Subject: | Re: [RFC] Abstract final classes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79212@lists.php.net to get a copy of this message | ||
Except for the H1 on the RFC (needs to be updated), I can really see a lot
of cases where I needed this: badly.
On Nov 27, 2014 4:48 AM, "guilhermeblanco@gmail.com" <
guilhermeblanco@gmail.com> wrote:
> Hi,
>
> I worked on an implementation of a somehow controversial concept that
> exists in hack and C#: abstract final classes.
>
> https://wiki.php.net/rfc/abstract_final_class
>
> My motivation is to further expand class support to add modifiers (PPP -
> public, protected, private). I added this change to initially segregate
> grammar rules. It was an easy feature without extensive complexity and
> covers some use-cases.
>
> As a reference, here is the commit hash that added this feature to Hack:
>
>
> https://github.com/facebook/hhvm/commit/faedfaf46b0deb859b0c20fb36a574be7a4f2f55
>
> Cheers,
>
> --
> Guilherme Blanco
> MSN: guilhermeblanco@hotmail.com
> GTalk: guilhermeblanco
> Toronto - ON/Canada
>