Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109102 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60793 invoked from network); 17 Mar 2020 14:41:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Mar 2020 14:41:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 70DF71804B8 for ; Tue, 17 Mar 2020 06:03:52 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 17 Mar 2020 06:03:52 -0700 (PDT) Received: by mail-oi1-f181.google.com with SMTP id w13so21627842oih.4 for ; Tue, 17 Mar 2020 06:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pdx0QPBM3bHYkGTau+jing4zsYkEv2h0m65j6uXLIEI=; b=YzCrGfxpUYWTAC4rrjNLlygTBv+H43RW/2JduSgjuKs8KNQgin8LWAvkXD/5DSmVFg IcAYEzYirgfQF3RzWcZmCbh+jFfhQ5BIRMJudsLpMb4kjkt3BiqKy11yXoiOPV3Jfk3b viAQx45p8KmmVy23hPsQkqWLlrWdtFhByCF3G71PSvU32J0N6qT1OQKTRzqiNphSbix9 Hh+AWK+Zrl2xoWhZp/9k/sJ4ktbDoJeL4v4OorFi/qCCvXbzPa5sGokg92obKVykooQp 7tTlAg1/eZpoEp7V5jv+1ZDc4EQYzoSXmgePzVe2k0fkZf9p022wOBJCOxvdWH2/L7PF Mnfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pdx0QPBM3bHYkGTau+jing4zsYkEv2h0m65j6uXLIEI=; b=iBHHwBGWiNgqGPCbgBeiU3qYBvgdxxmFf/PbRq9Mt1jRusU8VdEMvCgWluMQQ7F7cX P0Er4lcLXfiwbrd7t1mZI0uVTP0lHrUCH7nVp9m2B5KrUEB3y7C2KVi5Gk2PgvxAiPsp SqQHeFn1thCLgfVGb8ov6g0U6cfWFYPzoGQhPejWaovEeF/6nyic8tLDtp/56DjlaENh OOkEyr+R0Px3gBV0I7N/ISAwet67xUOYUhgNmickc8apd4mbzkFJAkI2A8GldSidjkK2 EKv9+iqzFlg/4UHTh8r5iNAyO+yPkOeZ2Mlm2f82G73MbLdwGhFXNN7MZVoep+xtTuIc luxQ== X-Gm-Message-State: ANhLgQ3oDO7jPbE3HtZZYp34zpCzNCc6FYvNHbo34WrBn8FV0puELe+u 25qi37Pw/G0q0LIa7Or++2kqhdg/9I73HJceSWuhttb2 X-Google-Smtp-Source: ADFU+vsD/wpV3hP/suq2MdQhL3fbJv1r8eee3OTvgTn0WDRVACRbO0JpnVCj1cQlfkXJgNBdhjn5kGzQM1TNt7+U1Hk= X-Received: by 2002:aca:4b56:: with SMTP id y83mr3451082oia.142.1584450230272; Tue, 17 Mar 2020 06:03:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 17 Mar 2020 14:03:37 +0100 Message-ID: To: =?UTF-8?B?TcOhdMOpIEtvY3Npcw==?= Cc: PHP Internals List Content-Type: multipart/alternative; boundary="00000000000023c90805a10c91bd" Subject: Re: [PHP-DEV] [RFC] [VOTE] Immutable/final/readonly properties From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --00000000000023c90805a10c91bd Content-Type: text/plain; charset="UTF-8" > I believe we had a long enough and fruitful discussion period, > so I have just opened the vote at > https://wiki.php.net/rfc/write_once_properties > since I didn't want to add any significant change to the proposal > any more. > > The vote will run for 2 weeks and it will be closed on 2020-03-31. > Hi everyone, I voted against the RFC because it has too many rough edges to me. eg cloning doesn't work, the initialization needs special rules, etc. I don't think these issues can nor should be figured out later on: they are low-level conceptual issues IMHO. We should not build on them before they're resolved (a land field of special cases look like a big code smell to me). I proposed an alternative behavior that removes all the issues. I think it needs to be discussed more in-depth: https://externals.io/message/108675#108753 Regards, Nicolas --00000000000023c90805a10c91bd--