Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126750 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 47A821A00BC for ; Fri, 14 Mar 2025 10:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1741946710; bh=+WWLWOJZMEK8pnPfEqw6f8F3aJrN+dHIPQWMAJy+Z/Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Mx1tLttZXR9MlxMHJKvDlKR7hy+Kd49Cz91q0SZY4zb6ziuQqaK+j84wc0Palhih9 xBdq3ez7tcGV9t0E4BB7UEAQeE7jUns+sVbnGPfcZmQOUO6IEHbfwmld310Bm7Bine gRwgfAzYc6Fm0dLEqdiLoucAgo7EruL2k+ql0UzhEB3Ogsww7MVAl342jBcMltBNa1 GRTUvIaaJEnVdd83xVRzKpJLp163W+bbgkc8YmOpqnXx7GLuk5wwDzpxkRIb9bwm0e FLe8SWZ7IAtzIM6IelRdLWvaAV0sf5/YrcKPRLdkxiFAXPUI2fTBaqIHQvoXCSHGAF O9jqG/w58youQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 57320180081 for ; Fri, 14 Mar 2025 10:05:09 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No 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 ; Fri, 14 Mar 2025 10:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1741946860; bh=UrTG0mJ8c4ONzMP5Hl+/vM9R2AUX2cXnYkinfCXn4iQ=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=TuXPUt/Wurc5jAITjxpEtUEUzRzq8rkPwu1JnHcnWYyUlE88bZVcMq7+hC2CMFYCX PVYTKmRmpCvwjAocIt2vsfOInsQTiibtHm12NlG+Xu7UoR9+TwtJt8Uo5QZvtR4+9W BO1jArCCLQ615OO4lSvSPXPuf7YgOjPx5bdW7wrbUhCmx1QdEicJnEA/AwJzZlFdPV H2fnxIR1pzooZuDClvjodBDhAUrnqoUwnvI725a+Y2rdSBGXwQuKMGFDStSNGDjlfS KMabrxsXoHgPKOh9XyHQLL5OcvkxdimyGk7ShpTr7tTILhaXeUULoUxIRljqMrT+2+ fWPHrxu+KkXAw== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 14 Mar 2025 11:07:39 +0100 To: Rob Landers Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Re: RFC: short and inner classes In-Reply-To: References: <2935d0e2-ddc4-447c-ab37-c9b7337b8b60@app.fastmail.com> <0d94bf183543ee9948fcd31337198438@bastelstu.be> Message-ID: <85dc31db56bdb15bbcb5f63497487a7d@bastelstu.be> 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 Am 2025-03-13 21:46, schrieb Rob Landers: > I will give \\ a try, but it has to be typed quite a bit when > referencing inner classes, so keeping it easy to type is a must. I feel > like \\ requires a large movement to type, at least on a qwerty > non-english keyboard. Maybe people using other keyboards can chime in. I'm using a German keyboard where the backslash is indeed not particularly convenient to type, but that already applies to regular classes / namespaces. Once I reach out to type the backslash, the number of backslashes I type doesn't particularly matter, so I don't follow how typing would be any more complicated than regular class names. The double backslash has one notable drawback in strings, where it would blow up to four backslashes in a row, but with the `::class` syntax and first class callables, putting class-names in strings should hopefully be rare going forward. >> I don't think that inner classes are sufficiently valuable > > I'm curious why some people feel this way and why some other people are > saying the opposite (emphatically). I'll nudge the private emails I've > received to speak up publicly on the list as well. But, why do you feel > this way? You cut the context from the part you quoted, so I'm not sure how to answer to that question, since it seems to be based on a false premise. Best regards Tim Düsterhus