Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117355 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55393 invoked from network); 17 Mar 2022 12:36:58 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Mar 2022 12:36:57 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 479421804D9 for ; Thu, 17 Mar 2022 07:02:11 -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=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLY, 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-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.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 07:02:10 -0700 (PDT) Received: by mail-vs1-f48.google.com with SMTP id g21so5593120vsp.6 for ; Thu, 17 Mar 2022 07:02:10 -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=ZVMYMUCkJLJIRoo7EX0FxM0JyV6F6FgfBj1cZUZZ034=; b=Ryvd1EO9Qy/4jzdJE1W3Ss4GwADCmV7Pnxiz/ev8az5Zkk99YquQLzEaTudZcuKmX5 jm2tRiq97n9HGRm1hfF7q3Ez4YWKE69hMW8VBijF+2VuMi2PX8cm1T635x+PD6QjNfNg 7nPTZESulinsog81oD9JfZexMEziGyLCuLArG6BomB4sg3UhiOntozMvuZ+rDdhVe4d3 0hgBqMygAxNlLkIlI7QW5NS/KfD2Xu9S1v/PKCb5WscPE8EH0qXJ3aWEPuntF7ug93gj UHMC+aiHKFAGpY2kbE2tO6eJ0jevSrfSeQT+qwp9izq3hRENnOufbUfgw8KhmzXmWULn LD4Q== 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=ZVMYMUCkJLJIRoo7EX0FxM0JyV6F6FgfBj1cZUZZ034=; b=oGawqvgcN6BY6pEg2/zr2EqcKv/306Sx1QDf7efPg+ZLhyJBg/tYgyBbzM0nbI56uH ZuSB7URnBUtbK+mnHtMfNcEzNz/BPedCpbANKEqRC/Jbppo7W/qLrGhHXcIl6OxhWaQx dJ36X4+8txwkfo3u/5zmr0wHPEBF8WGvMckBLYvjJLe+Wgr+p1tmManNoZ+DvG5eUFKC yw1VKOEcCr5SJ/F4mx5ZNMFFCYyASUgnglK2F9iFJE2m5CUYdrWTow2H08cby6AAet5/ t+m5xykeXYnxaVPkDSBujEhUEDc/kXVTLm7dH5nQGLvQX6I0e50kmCgecOjon0AYHzdA q1Ew== X-Gm-Message-State: AOAM531ix8SBv9JUia+xAZ9G/PhwKL9NlIbJL5AkA0vmuP3IOKJ9bHhk ZbEWNURfxs0jmH0Glnq5qQoglKHCyh7iZPCDvSA= X-Google-Smtp-Source: ABdhPJwPWOx+0u2rN52gBqhPsbqOSo1CLiZ3LkupiPtE7WI435gxinCbswVrzcUODrRclYct72AMma1MwsGSN0pSiNs= X-Received: by 2002:a05:6102:5091:b0:320:dc50:6425 with SMTP id bl17-20020a056102509100b00320dc506425mr1849032vsb.10.1647525728614; Thu, 17 Mar 2022 07:02:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 17 Mar 2022 15:01:57 +0100 Message-ID: To: Nicolas Grekas Cc: Saif Eddin Gmati , PHP Internals Content-Type: multipart/alternative; boundary="000000000000cffeb405da6a79e1" Subject: Re: [PHP-DEV] [RFC] [VOTE] Sealed Classes From: michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Marcin_Brzuchalski?=) --000000000000cffeb405da6a79e1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Nocolas, czw., 17 mar 2022 o 11:38 Nicolas Grekas napisa=C5=82(a): > 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 fo= r > > 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 kno= w > 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. > I'd say this is a very weak argument, we do the same with the final on class, method, property level already. But well, it's your vote. Cheers, Micha=C5=82 Marcin Brzuchalski --000000000000cffeb405da6a79e1--