Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123747 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 74E301A009C for ; Sat, 22 Jun 2024 02:38:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719023985; bh=H8h4ylEvsUWV4GBI7rpH5uYN6gtcg45EPa/ywIMurqk=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=kkWxoDYwbuy4gt9vLaEv91Vuxqzaljad90JcSxZJ9edi3H17+ur7LDiUjfVLkNWBr WcqYmo9FLg/gPBzMmNOem90wfv4WM6PG5+9FcW3ekSw7krFc9rlzByFADf2szC6PT+ 7CkGEley6Ur4/Mw+Tpl33dqQPLHhiF3k76IkXw0aWK2ghv+xOoJXXAgODMi/vbKglQ VTXBz4ZoloYTBaFGTNCLs/zyFAF1ow+E5+4Z9XzXs/SNeOQehz389xw1Ro//cnSWFV bMcwHys0hhntZpw0WsqzAt4irqtMcbiZYEXLBW82rJB2hQxDjYA1pS46CP3XzZXogw gNhhDCGIei1Qg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 91750180082 for ; Sat, 22 Jun 2024 02:39:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-4022.proton.ch (mail-4022.proton.ch [185.70.40.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 22 Jun 2024 02:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1719023907; x=1719283107; bh=H8h4ylEvsUWV4GBI7rpH5uYN6gtcg45EPa/ywIMurqk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=vZcpzK4bXNXNwSognkiNpOiVSS8lwFHXDLnPLBmx2fsyeCrYEL2rU749f1qUjFn5z D5jURWk2sC7JfuvzsaQAewnRT1Un+cEEpQwdCUGVS+LFaIw73b4XqA5gnLItsQzKjv HXQfEu0bgfZY72yGacfmgCKd93atBCoU5gDoZSFyke0a+p2AfObDciQl+4RSMY5gPr XbVrRSHHA6641BajIjhULozzHROettaedpRakJbQ72NskqQ8k/w9xm51etE8JZh8UF gPkQA/2YoK0ZJvxjtqbRIWwXsmIsHT0/3iQ4OR80ZdvZ8Je5ItLpBHimdGDYwHm9AO zbyO4E0qC2L6g== Date: Sat, 22 Jun 2024 02:38:22 +0000 To: Robert Landers Cc: Larry Garfield , php internals Subject: Re: [PHP-DEV] [Early Feedback] Pattern matching Message-ID: In-Reply-To: References: <2a6b92eb-d5e9-4a1a-9548-a068ac42ebd2@app.fastmail.com> Feedback-ID: 96993444:user:proton X-Pm-Message-ID: afd4dc18cb19b4b4c28843f653e20e47b33ee09d Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") On Friday, 21 June 2024 at 23:58, Robert Landers = wrote: > As a user of PHP, this statement concerns me. I don't want any > features rushed just because someone wants it "now" and thus end up > with something feeling half-baked, missing important features or not > completely thought through. I think it's pretty fair that this is a > pretty big RFC (as in scope). Were it a PR under review, I might would > ask you to break it up into smaller PRs because it's too big to > discuss properly and were it smaller PR's we would probably arrive at > a better solution than the giant PR. >=20 > Perhaps, it might be worth breaking up into sub-RFC's (is that a > thing?) where each pattern/feature can be discussed independently and > the vote is whether or not it gets implemented in the parent RFC but > has no binding on the parent RFC. Some things may be easy to discuss > (such as type matching) but others might be longer (such as as, or > arrays). But (and this is the key part) it wouldn't stop you from > proceeding on the parent RFC, which is implementing pattern matching > (in general) and any passed sub-RFC's. >=20 > Maybe that could be a path forward? I don't know who makes the rules, > but they're human rules and they can be anything -- in theory. Maybe > "sub-RFC's" needs an RFC to define it, but that might let you move > faster than a) trying to do everything all-at-once, and b) let > hard-to-define parts of the overall feature get the time they deserve. Breaking up an RFC into sub-RFCs which are each interdependent for the grea= ter scope to be coherent doesn't make any sense. An RFC being "large" is not an issue. Moreover, this RFC is *already* a "sub-RFC" of the much larger in scope met= a ADT RFC. The scope of this RFC seems pretty moderate to me and well appropriate, and= part of this discussion is to establish what may be moved to later. It is always possible to break down an RFC into new tiny RFCs about every s= ingle possible design decision, it doesn't mean this should be done. Writing RFCs, discussing them, and responding to feedback is extremely exha= usting and time-consuming, as such the authors of an RFC are entitled to de= cide what is in scope and what is not. They also decide what can be moved out, and what cannot. Part of being an RFC author is to *also* stand your ground on the scope and= design of your RFC while taking into account the feedback. Best regards, Gina P. Banyard