Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123951 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 3AD011A009C for ; Thu, 27 Jun 2024 18:24:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719512723; bh=spL0kW8ZoxiON1+IDPAmjptcrz5hbhlWLGy5iaGZkKg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=F0zpPXnRRUHQObuTDYMveVTfl7F/UpDJsLKctmyv0voo5QIj7l2WS6qA1ktSd0RMp FM1NhBWsUE2NAtZgt+ugtvb1CuqMci41dv8iIk1N9Xp3ndiaLXK4xxMZzuKuOgjDsr D68t3w8hK8GzAc8RdwTyIw5dmJd4eq39TVUJyLBC69ExR9Lk9tRs7eaTKEIBSDP5jC nAsLdmmjYeVmwnW+XBVUTKAott/AJ1+I3fun1zY/n1B2/Ij9xwxwPbhIfryMPulVzo tRpV2sQ/L63BTRL5fLv1Npei6dk+q9kY/Sl627X+N2RszT9iv3pCA7joc7i16Lw5iQ 3/45Ysx1nWU2w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A17121806C5 for ; Thu, 27 Jun 2024 18:25:22 +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:25:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1719512642; bh=3DxNvLTee7psJ5iux72pXLLTxae7B1MJtda1C3TYOho=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=ijLeCNFVJGZA30gkYlVxsL4++CUp/YBmX/rV/2EgEnNv+Hd9hoXM5yqxcs2YbnULW FluOfLAfnuqHGAmJ5naiEYdGTs5ORsAF/tqaj2b+M8O62uyHiJe02/vzCZxixXjnpG TFlSXYgJaUEhvClABfpDFPTlGUaNT6j9hzW4jxfWI9qT2+po0sfnxKTtow8+vYkfwj xV/MVb9mLBhDxIJepDzr//1GCUUDfUGoMzUNRSGytrSnSSLpP/7yPDQKkezlrrzGTD mbjcNRSQuFjbA4juhRK3QEi/gyRnz31HtmS1D/VGz1RHrDYmGqRro73SYIhvxZWUq2 JyA4LkexEyvFQ== Message-ID: <9d3e9063-aecf-4c56-a17d-782e7a60fed2@bastelstu.be> Date: Thu, 27 Jun 2024 20:24:01 +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 , Mike Schinkel Cc: Claude Pache , ayesh@php.watch, Bilge , php internals References: <88D83E92-94BE-4548-B398-8F5C74765FFD@gmail.com> <882BD9E0-42E9-4C84-A144-7C1DFC4CE5EB@newclarity.net> Content-Language: en-US In-Reply-To: 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 05:17, Stephen Reay wrote: > and I'd rather have the feature with slightly odd syntax rather than not at all. Absolutely not. PHP is already odd enough as it is. We should not add additional oddness in the interest of pushing a new screw-shaped feature in with a sledgehammer. Any additional oddity makes it harder for Junior developers and developers coming from a different language to learn PHP and also required the developer to learn the language details by heart instead of being able to rely on their intuition. I'm already leaning towards "Don't want static classes", but if they use an attribute instead of a keyword, then it's going to be a clear "no". See also my email in response to Ayesh. Best regards Tim Düsterhus PS: Can you please cut the quoted parts to a minimum instead of including the original email in full? That makes it much clearer to see what part you are actually replying to and reduces the amount of storage requiring for all the thousands of ML subscribers :-)