Re: Improving PHP's Object Egonomics: A broad analysis
| From: | Levi Morrison via internals | Date: | Mon, 23 Mar 2020 01:36:46 +0000 |
| Subject: | Re: Improving PHP's Object Egonomics: A broad analysis | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109221@lists.php.net to get a copy of this message | ||
> In short: I believe our biggest potential win is to focus on 3 RFCs:
>
> * Constructor Promotion
I would vote yes on this, assuming the implementation is sane.
> * Named parameters
This one is tricky -- there are tradeoffs of every approach I've seen
proposed. I have an idea for another way to address this space, but it
too has drawbacks; there's inherently no free lunch here, I think.
> * Compound Property Visibility
What is this last one? I searched for "compound" in the article, but
did not get many hits, none of which described what it actually _is_.