Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123030 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 B32701A009C for ; Mon, 8 Apr 2024 01:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1712538721; bh=3qnNtYJSZCNkUmRur2duAUp5zxWsQAxmShSqW13uJXw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=CIp1IgulLjm1jypBd8ynZkxvV6LARnFUv6K4dh837XUx1mbG2rPiRcJEzavMAU0BX LHOuxD+0a/MMbXsbgjxAcX4s2CWMLiciUcwRxw3aNrE538gd3p/jHcJ0FbUl546FsG L0DX+ItR+FuA4Thrx2kaZsybcRc+mzIwClV1KbUHXzQteDOuFHWU6hakdpr1Vyq6S5 4PfYXyRStOnXYtzoMCwmjiArRXPxh9UrDUf0XDuExxz7DPBnidkpWsWVFsZNsVYgBK edfJGKnDy6M4aZwFC6GH46r1FgzehxU3MR5oKrTlxtvJL6e3Vx/ATKKc/kGgzg899i D4mgnNMh69F0A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 888D3180758 for ; Mon, 8 Apr 2024 01:12:00 +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,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (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 ; Mon, 8 Apr 2024 01:11:59 +0000 (UTC) Received: from smtpclient.apple (unknown [117.55.37.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id 5C3F9401EE; Mon, 8 Apr 2024 10:11:25 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1712538685; bh=3qnNtYJSZCNkUmRur2duAUp5zxWsQAxmShSqW13uJXw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=U7n7v+3qnansddUV+gZGjkPaKa291KMFsaIS+X0omo7Q+NqABCEQIStIOfw6Bk/yN O9olx/2rdRaCf3iEusfvHvRlwBRZ/wH+K8WT4wchTnJJMmdEJwFnufoxKuEsdmG/lm GDGpVWeRabQml+yeLelyZoVVBgSGCSKXufVPP6Fs= Content-Type: text/plain; charset=us-ascii Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: [PHP-DEV] Native decimal scalar support and object types in BcMath - do we want both? In-Reply-To: Date: Mon, 8 Apr 2024 10:11:12 +0900 Cc: php internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <40553F28-2EC2-475A-BD8E-1D6517AA2A51@rwec.co.uk> <2B518F62-B774-45C9-82A2-EF6653AAE34E@sakiot.com> To: "Rowan Tommins [IMSoP]" X-Mailer: Apple Mail (2.3731.700.6.1.1) From: saki@sakiot.com (Saki Takamachi) Hi Rowan, > Well, that's the original question: are they actually different = purposes, from the point of view of a user? The purpose of both is different from a detailed perspective. Addition = of native types and addition of OOP API. But if think about the purpose = from a broader perspective, it's probably the same. However, such = discussions with different perspectives should be separate discussions. > I just gave a concrete suggestion, which didn't involve "combining two = arguments", it involved splitting them up into three projects which all = complement each other.=20 Oh, excuse me. I thought I was talking about the case of "integrating" = the discussion, so I didn't go into that. If the discussion diverges and = a new one starts, I'll be happy to join it. I don't think NumberInterface should be provided. This is because the = signature required by the internal implementation of a class may vary = from library to library. If prepare such an interface at this time, it = may cause problems when adding classes of the same family in the future. > It feels like both you and Jordan feel the need to defend the work = you've put in so far, which is a shame; as a neutral party, I want to = benefit from *both* of your efforts. It really doesn't matter to me how = many mailing list threads that requires, as long as there aren't two = teams making conflicting designs for the same feature. The point is that for me the purposes of the two arguments are = different, and for you they are the same. Although I am opposed to = mixing up discussions with different objectives, I am in favor of = starting new and separate discussions on common topics. So perhaps you = feel like I'm "defend" the work. If decimal is somehow introduced into php, whether BCMath will survive = or be deprecated is another discussion. If it's deprecated, it's = probably just unbundled, not suddenly gone. In other words, no matter = what the conclusion of the decimal debate is, BCMath will continue to = exist in some form due to compatibility issues, so there is no reason = not to improve it, at least for now. Regards. Saki=