Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117353 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34625 invoked from network); 17 Mar 2022 09:13:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Mar 2022 09:13:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 67226180539 for ; Thu, 17 Mar 2022 03:38:37 -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=-0.2 required=5.0 tests=BAYES_40,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, T_SCC_BODY_TEXT_LINE 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-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 ; Thu, 17 Mar 2022 03:38:36 -0700 (PDT) Received: by mail-ej1-f48.google.com with SMTP id a8so9742957ejc.8 for ; Thu, 17 Mar 2022 03:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s4t/xMq28taW9slxme9/4QBGpemT18LUeaE8geMAQWs=; b=RqNNVvYsx8QakdBPRm0bFa01VbkWmOX/P7euUPcJKbn0Pz3nWWHX0R3g+f1d8/9MW3 yJvMXW05jaL7QMeochQVaB0uTovezwkt2XlSQ0lZK1g3TrHENBM0vXmgiyTBCtkyJw5E zmsV6X6BRL9uHK21uoXCigmt6EJ29VKKo5RnOmLJO0akvfvSfI/eZvQqyS3vx8eSMns8 8XuJeMFl6Y2d/dLimsSIRbG8OSvHOWh8zZ6UmkGu6iTFtSsvMhg7KGaNmKekDcUf7Cu/ Bjs92yLnObN7ViezguL1YS36AXt6/KP9haqFIlvMtGSpeDYrz3AGQvW8ghzwbRhQDYn0 1+1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s4t/xMq28taW9slxme9/4QBGpemT18LUeaE8geMAQWs=; b=Z9z7jJwVfQCkyrYvVJaz4JKv86NVDu0rrqRF6L/R3aQ2REwBw+eSlcIq1bFotMogOL Pk5l5EY5jfq9fopJ2kAJpdE6W5DGqXQRBK4nSe7s9hJL8ZcWx83UdA6yeU01wJLMIEeD JytvjNqaexnFfPeMk991jciTDz3nL9xqAAY1vcz8uXr2fGNCwQ2rMTHl9fdyCdAWVvsy v4VCwrkTUkc2RrCnLu98p6d4OpMindCSgtKbfH0X3mlzy9L4lybtKn6OQMxkKUO5EoPF whviTMycqO0QFEE/hRCueSKsJlgsbBJIoD57ba32sBt4HpRYVl1SObEDoX5KgzWfthyn eerw== X-Gm-Message-State: AOAM532ZYex+pAc3xSsUDzj0lQwG13pig4H4UvSgrpYex5SnzBlNz810 dP4k8BE82aHdMEdSwd/I6JIpTv+v6XXOc4N6lNgC6P0GeT0= X-Google-Smtp-Source: ABdhPJy7rYBScWl5ZU42MzL4CxRFx72HLGTRT569Zuq5yEfp7ImHx6R6cOxAZOlW9TwMYLp3yKCd7MlSicr14YCWStE= X-Received: by 2002:a17:907:7f0d:b0:6d6:f910:5136 with SMTP id qf13-20020a1709077f0d00b006d6f9105136mr3901866ejc.736.1647513515564; Thu, 17 Mar 2022 03:38:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 17 Mar 2022 11:38:23 +0100 Message-ID: To: Saif Eddin Gmati Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000dba5fa05da67a1a4" Subject: Re: [PHP-DEV] [RFC] [VOTE] Sealed Classes From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --000000000000dba5fa05da67a1a4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le jeu. 17 mars 2022 =C3=A0 04:54, Saif Eddin Gmati = a =C3=A9crit : > Hello Internals, > > As per my last email in the previous thread, i have started the vote for > sealed classes feature. > > The vote will run for 2 weeks until March 31st 2022. > > Discussion: https://externals.io/message/117173 > > Draft Discussion: https://externals.io/message/114116 > > RFC: https://wiki.php.net/rfc/sealed_classes > Hello Saif, Thanks for the RFC. I voted "no" because to me this closes extensibility in a hard way. If users are fine ignoring an "@internal" annotation, or using reflection to access private symbols, then I think that's fine: their problem; they know why they need to do so - not authors. Allowing authors to forcibly remove that capability from users is going too deep into removing power from users= . Said another way, I don't think this solves any problem that authors face in practice. As such I don't think this is worth the added language complexity + removal of power. Cheers, Nicolas --000000000000dba5fa05da67a1a4--