Re: Re: [VOTE] Object Initializer
| From: | Michał Brzuchalski | Date: | Mon, 07 Oct 2019 11:48:08 +0000 |
| Subject: | Re: Re: [VOTE] Object Initializer | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107399@lists.php.net to get a copy of this message | ||
Hi Marco,
pon., 7 paź 2019 o 13:24 Marco Pivetta <ocramius@gmail.com> napisał(a):
> Hey Michal,
>
> Overall, I like the idea of simplifying constructors. I downvoted the RFC
> because:
>
> * I don't like/want co-existence of ctor and initializer
> *
__set interactions seem to also be a lot of non-trivial
> added
> complexity.
>
> If this was a short-hand for a constructor replacement (exposed in the same
> way downstream and in reflection) I'd totally be for it, but as it is it
> blurs the entire class definition by a lot, making things very difficult to
> anything reflection-ish based.
>
Thank you for your feedback.
Cheers,
Michał Brzuchalski