Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106900 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83362 invoked from network); 6 Sep 2019 17:13:47 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 6 Sep 2019 17:13:47 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 82DA92D20FE for ; Fri, 6 Sep 2019 07:48:11 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: X-Spam-Virus: No Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Fri, 6 Sep 2019 07:48:09 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id u13so5262648lfm.9 for ; Fri, 06 Sep 2019 07:48:09 -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=dMs2P1NYt0zs3QBitvELI8ft6oHlmfWQDZy0uG6M6ZU=; b=CAd6WDbQfdFCHd8IVoul77u6UusDOKhskvE9gnj2B1KmvpfqoV62nv8wHprr5Omgow iaScNVDcBnfHSLXzs3zNPRQwmlfDRkUfqU9bHAN8Tww0jJPa+NwxP6qxSf5A3yNX1Dkj AUW572Z41lMvvvrnZ56htmjb7mbtg0nP5zSEUZD4n0QRoQ618ZOqJQVCgQVZOe69OV+O j3BxUdtz96ef0jrfrdf9RrYRNvqqaOcZHf50jf+nLMf5DPt0yN/xgh78nqd21DRSf6an 4k1Qbs8LNMbVjH19p6e5OHw3I20eANiidHjEqjwrJXgJk1VYWqcDfBJftp8wxhhmigUR X0og== 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=dMs2P1NYt0zs3QBitvELI8ft6oHlmfWQDZy0uG6M6ZU=; b=pXeUKM7HASgP9uk7Q2YqxL7tpJ1Yreg3bzm6gxLt06umD0rR69CK5ldWqtivuOrddE 1hfqUIxe1TNGyrWh6v0Pcy2Oj75jWdJlHu2ASGWzbKnrUsYcnUwVN3TgKHCRu6oyoc3u QJjVyCYs8MflfX2wdIAIVIMJu2ZVk9kL5CGMbmO/Z0o5AiGISHnSk/84btsybSA/Say/ jczDXg9RQrT8BdH9gTb9I7/dMHfw3H45xudr0pcjqPfznxPCEqYqM4tcTaYo502yBtOD jRLvzvsEnNb6YeLoBvV4pPHRPduVMCOcaU16J2YDnKJ6/JujvxswHcdEEaV5jgqTwdE1 ABpQ== X-Gm-Message-State: APjAAAXvDmN4+hvQhVI9KUiPNGYAHrZryAIZUizn1F9G1sdUOn9iWToU ynm6wuXyk+NB/QBiqlTWTRal3OEJ6C+YnCP5fE4= X-Google-Smtp-Source: APXvYqyNBCWr8F1eYkgpR42nn1KQC8Pvv9QzDc2tnn3EysmWA/ZhhoX21xMKaPNCoNliFmAGOaqF37oRVTdVQ/G2fro= X-Received: by 2002:ac2:4892:: with SMTP id x18mr2896226lfc.154.1567781288424; Fri, 06 Sep 2019 07:48:08 -0700 (PDT) MIME-Version: 1.0 References: <1686643.PblvKQRnJp@mcmic-probook> <190b7291-812e-4337-bd09-950dc30c655a@Spark> <2157489.0uZv62oTo4@mcmic-probook> In-Reply-To: <2157489.0uZv62oTo4@mcmic-probook> Date: Fri, 6 Sep 2019 16:47:52 +0200 Message-ID: To: =?UTF-8?Q?C=C3=B4me_Chilliet?= Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000c836e30591e3863f" X-Envelope-From: Subject: Re: [PHP-DEV] [RFC] Union Types v2 (followup on github usage) From: nikita.ppv@gmail.com (Nikita Popov) --000000000000c836e30591e3863f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Here are my own thoughts on how the pull request discussion for union types went... I think the main takeaway for me is that inline comments (on specific lines in the RFC) were really invaluable. Each comment thread discussed a specific issue and most of them have resulted in a direct improvement to the RFC. Generally there was a lot of discussion of specific technical details that we very rarely see in RFC discussions. Current RFC discussions on the mailing list tend to be rather high level (which is fine in itself), with nobody ever discussing the details (which is very bad). Thinking back to https://wiki.php.net/rfc/engine_warnings, I think that RFC could have really benefited from this discussion medium. While the mailing list discussion ended up talking circles around more or less one single question (undefined variables), pretty much none of the other parts of the RFC have seen so much as a comment. I'm sure that there would be a lot more discussion regarding specific classifications if this went up as a pull request. Another nice thing is that it's possible to mark a comment thread as resolved, once the RFC has been adjusted to address the comments. That way you don't have to see issues that were already addressed (though you can if you like). Having thumbs-up and thumbs-down reactions to comments was also helpful to judge whether some comment represents a minority opinion or not, something that is notoriously hard with current mailing list discussions (which are almost dominated by "negative" opinions which mysteriously don't show up in voting results). However, while the inline comments were pleasantly insightful, the same cannot be said for the top-level comments on the pull request. The majority of them was borderline off-topic. While some in principle interesting discussion happened there, it simply didn't belong in the RFC thread for union types. The top-level comments also suffered from a lack of threading -- I would have been less bothered about tangential discussions if they were threaded. (To be fair: I use gmail, so I don't get threading on the mailing list either.) If this kind of discussion behavior is representative, then I would suggest a workflow alone the following lines... * RFCs are submitted as PRs on GitHub, but must be announced on the mailing list. * The PR description should have a fat warning that top-level comments belong on the mailing list. We can mark all top-level comments on PRs as "off-topic" as a matter of general policy. * Top-level commentary stays on the mailing list. This is a shift from what I originally had in mind (completely moving the RFC process to GitHub), towards providing a way for more detailed and specific feedback on the RFC text. Regarding GitHub as a 3rd party. I think there are a few things to considered: * We're already very heavily reliant on GitHub. Most of my day-to-day interaction with PHP core development is via GitHub and most of the day-to-day decisions also happen there. Only the major stuff everhits this mailing list. * The RFC repo would of course be hosted on git.php.net as usual and only be mirrored to GitHub. * GitHub would not be the exclusive venue for RFC discussion. All RFCs are still announced on internals and the top-level discussion can and should still happen here. Disclaimer: I'm trying to draw conclusions here from an experiment with a sample size of 1, which may not be representative. Union types are a pretty significant proposal (and also the first one to be on GH), and other, smaller proposals might well have different discussion dynamics. Regards, Nikita On Thu, Sep 5, 2019 at 12:22 PM C=C3=B4me Chilliet wrot= e: > Le jeudi 5 septembre 2019, 12:04:55 CEST Brent a =C3=A9crit : > > > Huge "no" from me on using github for discussing RFCs. > > > > Care to elaborate why? The majority seems to like it. Though I am also > curious about Nikita's experience with it, as he is the one having to > process the feedback. > > Because the PHP project should avoid depending on a privately owned > centralized service for its technical discussions, and should not encoura= ge > (some would say force) people to use such platforms. > > PHP is already on github but it=E2=80=99s only a mirror, the main git rep= ository > is at git.php.net . > > C=C3=B4me > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --000000000000c836e30591e3863f--