Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123953 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 BD7291A009C for ; Thu, 27 Jun 2024 18:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719513167; bh=mjU4FcaN+n4seY1EgC5TVg6e2etXAoSOXcjFmGJvNN8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=gaoNhYW2XFSfQnvnuB+a4aaRZbGzMjjG7sPFl7p9mZeaZzShtt9vDn0/350rBf2cV irbnQnoebDnxjfbM6j+CTWC4MGGKVUt+AEB127diqns1h2qse164KUdC6Qn0iEgort ScgYsVvqU7ZE7/Q1ikNDoqeViZVhT6ql9umm6lZfMW2TMoHLlkakgHEt5A/g0n2HyQ Kl9f0Oys4155bhvfROcK4XuFDJ99yOe+EoXZh8sgVXphJcpIv28dfIVrNfU+XkWgHY /d75un4+kMUv0NUMS2ntixbbQvoHxE9YYO/oovHplPUMjpEryTGGXZBm1Z81QtHAea nI5XvdWIbTjFQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F3B64180A02 for ; Thu, 27 Jun 2024 18:32:45 +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: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 ; Thu, 27 Jun 2024 18:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1719513085; bh=nSVHtfb0ACV5P2tF1gYXFkT8ioN/QtVatZLlMQxVxE0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=MIL4u4NSVZ107ey8P+Te/MBL59JyVJ2OwM/UyeOqRzmfsowddu5AhuaWJiY4mYlsl UA0aDvR+xNxx/KtG/4a7FUiduXbMH6bpx+6AEDjjTf3lre8x/fNX00mUeJaIFw6CLO EGTKy6ykEbPG/GDOoByH/GqSt4i/keYw6101sBM21fLeP1DO83tez1OHKeGDt8GIX4 3QtRQx4gDCUuM3ZTYLSS87L8FcB8PLTfBZ/jwNL4ERkMX6OhYC1/b/trC28ho/BQUv uB06Mz6THh/g2baU6lSBvkuOm7UpnEFkZSJ6lRRcq2d0GL9UDBVRk2LJF6bkL+i1Bj L3K7FMaeHqaGg== Message-ID: <5114af70-d9b5-420c-8235-3e4af517a510@bastelstu.be> Date: Thu, 27 Jun 2024 20:31:23 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Subject: Re: [PHP-DEV] [RFC] Static class To: Stephen Reay , Bilge Cc: Mike Schinkel , Claude Pache , ayesh@php.watch, php internals References: <88D83E92-94BE-4548-B398-8F5C74765FFD@gmail.com> <882BD9E0-42E9-4C84-A144-7C1DFC4CE5EB@newclarity.net> <9B9777A5-6633-4826-9133-42DCB8FAA79E@koalephant.com> Content-Language: en-US In-Reply-To: <9B9777A5-6633-4826-9133-42DCB8FAA79E@koalephant.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 6/25/24 10:41, Stephen Reay wrote: > Like I said, I much prefer the keyword syntax - but I also recognise that others may have different priorities in terms of supporting older language versions, which is why I think that aspect is worth consideration (perhaps a secondary vote, or an informal vote to gauge consensus?), because too many good RFCs get rejected over small details. Syntax is absolutely not a small detail. It's the most user-visible part of a language feature that is not just a new part in the standard library. And that is probably the reason why it's the most hotly debated part of any new language feature that is proposed. As said in my previous email, I strongly oppose inventing new syntax and instead borrow syntax from existing (related) features as much as possible. An example that comes to my mind would be the initial brace-based syntax for the clone-with RFC that has since been replaced by array-style syntax that should be immediately understandable by any PHP programmer. PHP should continue to look and feel like PHP. Best regards Tim Düsterhus