Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107399 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 53017 invoked from network); 7 Oct 2019 14:06:45 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 7 Oct 2019 14:06:45 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 18BE32CB18A for ; Mon, 7 Oct 2019 04:48:54 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, KHOP_HELO_FCRDNS,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS16276 188.165.0.0/16 X-Spam-Virus: No Received: from poczta.brzuchalski.com (ns220893.ip-188-165-245.eu [188.165.245.118]) by php-smtp3.php.net (Postfix) with ESMTP for ; Mon, 7 Oct 2019 04:48:53 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by poczta.brzuchalski.com (Postfix) with ESMTP id C50B52984239 for ; Mon, 7 Oct 2019 13:48:22 +0200 (CEST) Received: from poczta.brzuchalski.com ([127.0.0.1]) by localhost (poczta.brzuchalski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D2bc7OjqtjRC for ; Mon, 7 Oct 2019 13:48:21 +0200 (CEST) Received: from mail-ot1-f43.google.com (unknown [209.85.210.43]) by poczta.brzuchalski.com (Postfix) with ESMTPSA id E8B0C2984233 for ; Mon, 7 Oct 2019 13:48:20 +0200 (CEST) Received: by mail-ot1-f43.google.com with SMTP id e11so10675821otl.5 for ; Mon, 07 Oct 2019 04:48:20 -0700 (PDT) X-Gm-Message-State: APjAAAX3Q876AO2Jz2JP7eXmhvx5aJ8Qg0DdoA6Dmp28pkzysTti+WP/ WiAtiJQA1hDhC/xcOZ0k7j47MZn9327xGBEKnIg= X-Google-Smtp-Source: APXvYqx1q58dZTbiTwPACap2i1L/aPUHR0Qq9sasCAwL8+J3hwcPXFWMK8KM4ZWYqvs0QldrdDQ9bARf+qwz7HpBAhQ= X-Received: by 2002:a9d:72d4:: with SMTP id d20mr20119386otk.214.1570448899811; Mon, 07 Oct 2019 04:48:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 7 Oct 2019 13:48:08 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Marco Pivetta Cc: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000cfb4c3059450a0a1" X-Envelope-From: Subject: Re: [PHP-DEV] Re: [VOTE] Object Initializer From: michal@brzuchalski.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --000000000000cfb4c3059450a0a1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Marco, pon., 7 pa=C5=BA 2019 o 13:24 Marco Pivetta napisa=C5= =82(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 sa= me > 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=C5=82 Brzuchalski --000000000000cfb4c3059450a0a1--