Re: [RFC] Asymmetric visibility
| From: | Michał Marcin Brzuchalski | Date: | Fri, 05 Aug 2022 19:27:49 +0000 |
| Subject: | Re: [RFC] Asymmetric visibility | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118356@lists.php.net to get a copy of this message | ||
Hi Larry,
pt., 5 sie 2022, 19:09 użytkownik Larry Garfield <larry@garfieldtech.com>
napisał:
> Ilija Tovilo and I are happy to present the first new RFC for PHP 8.3:
> Asymmetric Visibility.
>
> https://wiki.php.net/rfc/asymmetric-visibility
>
> Details are in the RFC, but it's largely a copy of Swift's support for the
> same.
>
Thanks for taking efforts on new RFC.
Why not C# style property accessors? It feels more natural for me while
Swift solution IMHO looks weird/odd composed with PHP class definition
syntax. The arguments in favor from the RFC look forcibly (couldn't find
better word).
Cheers,
Michał Marcin Brzuchalski