Re: [RFC] Asymmetric Visibility, v2

From: Date: Mon, 10 Jun 2024 16:12:17 +0000
Subject: Re: [RFC] Asymmetric Visibility, v2
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Wed, May 29, 2024, 2:16 PM Larry Garfield <[email protected]> wrote:

> As promised, Ilija and I offer this revised version of asymmetric
> visibility.
>
> https://wiki.php.net/rfc/asymmetric-visibility-v2
>
> It's still essentially the same as last year's version, but with a few
> adjustments and changes:
>
> * readonly properties are now supported in a logical fashion.
> * We've brought back the abbreviated form, as public-read, something else
> set is the most common use case.
> * The section on magic methods has been greatly simplified.  The
> implementation itself hasn't changed, but the explanation is a lot less
> confusing now.
> * We've explained how aviz interacts with hooks (they don't, really) and
> with interface properties (in the obvious way), which didn't exist at the
> time of the last draft.
> * We've added a section with examples of how aviz is a concrete
> improvement, even in a world with readonly and hooks.
> * We've added a section discussing why the prefix-style syntax was chosen..
>
> *dons flame retardant suit*
>
> --
>   Larry Garfield
>   [email protected]


Sending an email to quickly enable a new mailing list subscriber to engage
in the conversation.


Thread (57 messages)

« previous php.internals (#123567) next »