Re: [RFC] Abstract final classes
| From: | Sebastian Krebs | Date: | Thu, 27 Nov 2014 11:57:33 +0000 |
| Subject: | Re: [RFC] Abstract final classes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79222@lists.php.net to get a copy of this message | ||
Hi,
2014-11-27 4:47 GMT+01:00 guilhermeblanco@gmail.com <
guilhermeblanco@gmail.com>:
> 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
>
>
The example is a little bit misleading: Instead of a new concept you can
use functions, right?
Regards,
Sebastian
> 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
>
--
github.com/KingCrunch