Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114663 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 46570 invoked from network); 28 May 2021 23:37:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 May 2021 23:37:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 112D31804C3 for ; Fri, 28 May 2021 16:49:08 -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.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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, 28 May 2021 16:49:07 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 2796E5C00EE for ; Fri, 28 May 2021 19:49:06 -0400 (EDT) Received: from imap8 ([10.202.2.58]) by compute3.internal (MEProxy); Fri, 28 May 2021 19:49:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=lAGdrB 8x2oCcpwKXO5fMT6ha4vwOr64ksuKPo5/3c0Y=; b=rVOkdOMgVhYxMlgT2BfdWN bRJTmdrRRaflfY26lEaoHYmf6ZIMgaaF6PmJuQxi7Z9vpP/6YC4jPc6s+mW+VlkF oRC03D2VQTdGFDeuObQ3uHeiOW2k82BA1fSxMPeDMr1o/JS0xZTv6A8Mo09cacnh Ue+/40RXj1iT+BpKuMVxO9Da74BzGTLPBscZXJxp8qo7oSYRQxFtNMQbTeZBMHu6 wniggkbnOwK3IhPlGqwzAYtN083pkRUJSXy+68iJZFqQ/oeOAGRp95kSP9nVmTyq s0uN8l1XX+s7+tMsypjOot3wZ3pMZNNERbST7CHIPBiSEn8geT0NFxKVHldRsm7Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekkedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeeglefgkeduiedvvdetffeujefftdfhjeeiveehgfff keduveektddvledvvdfffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8A0FC3A0130; Fri, 28 May 2021 19:49:05 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-468-gdb53729b73-fm-20210517.001-gdb53729b Mime-Version: 1.0 Message-ID: <0729fdcc-ece7-4261-ba28-9f72161495e6@www.fastmail.com> In-Reply-To: References: <1815820036.3212683.1621007783673.JavaMail.zimbra@dafert.at> Date: Fri, 28 May 2021 18:48:44 -0500 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] [VOTE] Add IntlDatePatternGenerator From: larry@garfieldtech.com ("Larry Garfield") On Fri, May 28, 2021, at 5:52 PM, Mel Dafert wrote: > >It's ... checks calendar ... the year 2021. Do we *really* need to add a > >procedural mirror APIs, especially with such auspicious function names as > >datepatterngenerator_get_best_pattern? > > > >I believe the procedural APIs are considered legacy APIs, and we are > >intentionally not adding them for new functionality. For example, the most > >recent intl addition (IntlChar) does not come with procedural APIs. > > I wasn't aware that there was a precedent with IntlChar - the > documentation seems > to frame this duplication as a feature rather than a historical > artifact. > (The wording "OO style vs procedural style" does not imply any > endorsement > of one style over the other to me.) > However, i am open to only including the OO API if there is consensus - > although > I feel like this should maybe belong in a separate RFC that clarifies > that future > additions should prefer the OO style, and > that the OO style is the "preferred" one. Agreed with Nikita. There's no compelling reason to add double-API style anymore. It may take a second RFC to modify this one to remove those, technically, but I'd vote for it. --Larry Garfield