Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115821 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 1531 invoked from network); 25 Aug 2021 16:06:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Aug 2021 16:06:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 34BA31804AD for ; Wed, 25 Aug 2021 09:40:23 -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-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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 ; Wed, 25 Aug 2021 09:40:21 -0700 (PDT) Received: by mail-ed1-f49.google.com with SMTP id z19so47974edi.9 for ; Wed, 25 Aug 2021 09:40:21 -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=stfawfTxQXBPsv6wQZ9d/uLBb31bAyeyNnKo39ytBhU=; b=a56hxuwefO0N6zFYVEM6bIvOhBPHuI6QWKweSR+GbQZ678Dbn+TE15uKpFTQbfp+UD ERn+NU6q3ON4EezGjXxxUSPxUHoPYEfQtBScpnSrQ3fJIabbeNOCI+HZ7ahgSYzOFK72 TvOf+YUu6hq/Ef1D3j9vXF2M3x6G4cCXdOT0DQhiQZGmt2/xrZ8mXJKdnuCeCF5y9E9T on71dqxZE2oF3bC+Hiw5TPHfCYJiaZoljQlLhG3rYIFcwekDDFySJmaT134sa8mf7eaE pO/tUOENNLTTFRhv29OE81yXd8wMEbfHPOkfHFfYcFsZnjd8YRZZVKVAlhPXP6OaoC89 Cwkw== 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=stfawfTxQXBPsv6wQZ9d/uLBb31bAyeyNnKo39ytBhU=; b=RObWOEdcxxhS5KqaaZT1ounAZSuy4jFuMsJ3+rLVqqPPzJS69xQ4nPLlerAOEGeCF6 EwsgT9PVItDZQxiBkMnzNcXZhygruIHXWcppgFN/Hxn/3nq7EDC/sZTNPJmAfMAt8KsJ e/AmQ5p3KiWhR3HsnMyAY1LFlTwHvesnmDrK6W2nlEdkwfXkrZ6mh6wb6cW/hZiXtDet S7t3FjKYF9cZtg5BwTI9ZXLNW+pApwDJSBPav1akJS4x/SWz5yzFo7/mIe+VLs5TtW5s Ylbt2BlIiD1UnUzT8gyfalnxx+f0k90vxRpiHe+xgS1gbavA21zQ134YBSI0VYUMZHNw 9iSg== X-Gm-Message-State: AOAM533Q9j5FQAKTSJfzFRbEHmbJ5aD9QUcpQzfUTS7N2phy6/Xbia+Z 4MG6Az1mu7bfL7c8kF/H6zLkAlKJpz/cFoB0bw6knYohW5mBQQ== X-Google-Smtp-Source: ABdhPJwQCTjduZSndpYtPPYLavpTG/L96wlp1jHyvjLRYxyydGEmApwiejvrMayI5HTz6G+YTxhGmZjqeyFHSxCxOqg= X-Received: by 2002:a05:6402:1bd1:: with SMTP id ch17mr14227973edb.99.1629909618960; Wed, 25 Aug 2021 09:40:18 -0700 (PDT) MIME-Version: 1.0 References: <72785D6F-6803-49BB-B575-01061699ABF4@gmail.com> <448DAADA-C819-457F-ABBF-F942128B2830@gmail.com> In-Reply-To: Date: Wed, 25 Aug 2021 18:40:07 +0200 Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="000000000000daac9705ca64e74e" Subject: Re: [PHP-DEV] [VOTE] Nullable intersection types From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --000000000000daac9705ca64e74e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le lun. 23 ao=C3=BBt 2021 =C3=A0 16:22, Larry Garfield a =C3=A9crit : > On Sun, Aug 22, 2021, at 5:42 PM, Patrick ALLAERT wrote: > > > Either extra time, or having a way to influence the schedule of the > > releases. > > For now, we work with a fixed schedule and don't know (at least: me) ho= w > > strict we must stick to it. > > > > The fixed schedule of the releases is what makes me more comfortable wi= th > > the idea of reverting a new feature rather than extending the scope of > one. > > Speaking from the outside: > > Joe stated in an earlier email very clearly that because this was viewed > as a "possible bug fix" it was given permission to run post-freeze. Ther= e > was no dispute in my mind at least whether the RFC was valid. > > That said, if voters are of the opinion that "the cure is worse than the > disease" on this one (eg, because it didn't take into account larger > questions around compound types that will have to come later, and so may > make things more difficult in the future, or because the reflection API > isn't fully thought through, etc.), or that it feels too rushed, that is > entirely their right to vote no on it on those grounds. That's basically= a > summary of my No vote: I'd rather have non-nullable intersections for now > than something that is going to make life more difficult in the future fo= r > full mixed types. > > > > > Based on the partial results of the vote, we could conclude that the > > > consensus is to 1. not allow nullability and 2. force bracket around > > > (X&Y)|null. I can't read this as anything else than ppl voting not on > the > > > RFC, but on this metadiscussion about the feature freeze + some fear > that > > > we might put ourselves in a corner with the syntax. > > > > > > The RFC should be allowed to complete, it's gathering important data. > > >> > > > > > > Because of what I just wrote about, I don't think we can rely on any > data > > > here. The discussion should be rebooted from scratch for me. > Apparently, we > > > need the full syntax for composite types to decide for the syntax for > > > nullable intersection types. =C2=AF\_(=E3=83=84)_/=C2=AF > > > > > > > I also think that we can't rely on the data for the reason you mention > even > > if I intended to vote "no" on the feature, not on the targeted version = of > > PHP, I may be the exception there. > > That's not different than any other RFC. We never differentiate "no on > the concept" from "no on the implementation" from "no on some particular > detail that's really really important." That's data we almost never get, > unless someone volunteers it on their own. This RFC is no different in > that regard. > > > > Now, I don't know what to do. The vote started and is not looking goo= d > for > > > the proposal. Some will say that I didn't want to see it fail if I > withdraw > > > it. But honestly, with all those interferences, I'm not sure the > conditions > > > are met to have a fair vote. > > I have to disagree. Given Joe's earlier message, the RFC was legal and > allowed to proceed. "I still think it's too late" is entirely someone's > right to justify a No vote. That's not interference, that's the voter's > viewpoint and it should be respected. > No need to disagree as I was referring to exactly that: the legality of the vote. This legality has been deeply challenged during the discussion period and during the vote itself. That's what I'm referring to as interference. Once the legality is shielded, of course ppl are free to vote what they want. That wasn't the case at all for this RFC. I wish we'll find a way to not experience this confusion anymore in the future. Nicolas --000000000000daac9705ca64e74e--