Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116059 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 62241 invoked from network); 17 Sep 2021 07:26:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Sep 2021 07:26:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DFC67180543 for ; Fri, 17 Sep 2021 01:06:51 -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.0 required=5.0 tests=BAYES_20,HTML_MESSAGE, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS1836 195.49.0.0/17 X-Spam-Virus: No X-Envelope-From: Received: from darkcity.gna.ch (darkcity.gna.ch [195.49.47.11]) (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 ; Fri, 17 Sep 2021 01:06:51 -0700 (PDT) Received: from smtpclient.apple (unknown [IPv6:2a02:1205:502d:fa80:31f9:87a4:9c3d:881]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id 258FC150ED06 for ; Fri, 17 Sep 2021 10:06:47 +0200 (CEST) Content-Type: multipart/alternative; boundary="Apple-Mail=_DD7D1657-6BAD-4992-8E59-786DEB1C28E9" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Date: Fri, 17 Sep 2021 10:06:47 +0200 References: To: "internals@lists.php.net" In-Reply-To: Message-ID: X-Mailer: Apple Mail (2.3654.120.0.1.13) Subject: Re: [PHP-DEV] RFC: Add `final class Vector` to PHP From: cschneid@cschneid.com (Christian Schneider) --Apple-Mail=_DD7D1657-6BAD-4992-8E59-786DEB1C28E9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 17.09.2021 um 04:09 schrieb tyson andre : > I've created a new RFC https://wiki.php.net/rfc/vector proposing to = add `final class Vector` to PHP. First of all: I don't have a strong opinion on a Vector class being = useful or necessary. But I have two comments about this RFC: 1) Using the very generic name Vector without any prefix/namespace seems = dangerous and asking for BC breaks. 2) I don't like that this class is final. The reasons given in = https://wiki.php.net/rfc/vector#final_class = seem unconvincing to me = and restrict the usage of Vector in a way which makes me question the = usefulness to a big enough part of the PHP community. These two reasons combined would make me reject the RFC at the current = stage. - Chris --Apple-Mail=_DD7D1657-6BAD-4992-8E59-786DEB1C28E9--