Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124617 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 942731ADB61 for ; Fri, 26 Jul 2024 14:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722004199; bh=lvsokYtY0cdQ7v9DPSaURiZhRnRn4r3aODoQdLVwIdM=; h=In-Reply-To:References:Date:From:To:Subject:From; b=LnpgugCsSSmldK97PVYPF1e7H7u6oIGTJD2LGHQsV2ItbJHyweT2/9f188h9bGYTk 1QQxX/317YEBvANlYZ/N+YnYLXxWJxbu3UsSdiPcxNEtSGD8JSehA9BKUUUvxMw6OP QAWQOfHBR1yGuoZPkGFVMX0Ey5V9oCOrAS2u+/hGvQuKBKaXe/0f/8Mn6HvYhVXL5v y/64ewyvAypkiV5C+qDagL7W1hrJ7j8H1/8p2AeOJFRp1fmrTxBDt/YkJhheC/gTyO 3XRBiOzxYjHoIteJDVnMnA0AkOlAcutlCDLwX3gAIKtp5FXEmkNmpad1JNMN2Rq0Tf Ew1653vPKWQ+A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8DF741801E6 for ; Fri, 26 Jul 2024 14:29:57 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout6-smtp.messagingengine.com (fout6-smtp.messagingengine.com [103.168.172.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 26 Jul 2024 14:29:56 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 92355138012C for ; Fri, 26 Jul 2024 10:28:20 -0400 (EDT) Received: from wimap23 ([10.202.2.83]) by compute3.internal (MEProxy); Fri, 26 Jul 2024 10:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1722004100; x= 1722090500; bh=kwMjyV8hQ0HmqiQBjupnEt6c+QFhPrVvi30qmwqU5LM=; b=e GIjgGD6WB1EuGNuO+N03ohk3GbSm9TmP8ZTi8bvpxM3xP/i5FVg63JrIRN4yIsMG 2/lY8tSh9RvHqiZr5dkfAcrhK/ZxCk0GSWOx3hqihJ01OsXbiB8g+riJRoj6ofJ4 Op/g9wmltkl6PCJPxphwmfhBjrsE+PsOtj8gWT7yELQ4E6qtVi20/WOWV2iw/GMy P5itGMIaljdhSTtLt65Xlt+8lKJQfwYeyfVPxIeFa1yIKsLe0W4boJuWxO1MMciI 1pvUvxzotrMKLukA95iLufTZYTFxXH2SVegeWi6F8TJA2+GmftT092VH6MHOoGVX OVyHEW/rHbg1DeaEpC4/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1722004100; x=1722090500; bh=kwMjyV8hQ0HmqiQBjupnEt6c+QFh PrVvi30qmwqU5LM=; b=vAPcpKeRUAzYLraTj/9nGdfJR5JfeT3Npc8Wc+ZfzEj9 5pIRRxpbIZGND5d3zo0IAQFtaSzlNkH/+K5h7rkvayTRuHntXMiVHsWU5DpMUOLt NCB/bjJQalSrgjSffZThirkzVTbsGDnS3DYKJk7FQaONuSl5/znd0RyLCz+ys3j6 YsfEXtM/l6tzYSRgUy7EixZsloXn5H81ogj8P63zdvLUFvkcfkZqTZVtyIDdL1dg pEq77VgjoG650bQmS9kUUFm658pUvrS/W2ZZmLR1yKfZfu91iX4C/4r0yrxT43fs gFxqIyGddUIqh8kW5UNPHCFa3983rZk70jeVi5n3PA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrieehgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepgeelgfekudeivddvteffueejffdthfejieevhefgffek udevkedtvdelvddvffefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgt phhtthhopedt X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 67C7E2920063; Fri, 26 Jul 2024 10:28:20 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-582-g5a02f8850-fm-20240719.002-g5a02f885 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Message-ID: In-Reply-To: <161d5b04-4d94-47e9-a248-61639d688381@app.fastmail.com> References: <0a6a61cd-f203-4dea-a7f8-97e6b885c52d@app.fastmail.com> <66c4ac1c-b3d7-4b20-b986-1fe1a464f485@app.fastmail.com> <4e7714cb-0d88-43f5-aa30-9adb799e0b28@seld.be> <161d5b04-4d94-47e9-a248-61639d688381@app.fastmail.com> Date: Fri, 26 Jul 2024 14:27:59 +0000 To: "php internals" Subject: Re: [PHP-DEV] [RFC] Asymmetric Visibility, v2 Content-Type: text/plain From: larry@garfieldtech.com ("Larry Garfield") On Fri, Jul 26, 2024, at 12:58 PM, Rob Landers wrote: >> And now that I see it spelled out more, I do agree that while it appears a bit more verbose, and this "(set)" looks odd at first, having all the visibility upfront is a lot clearer than having to read through the hooks to see what visibility applies. > > On a large property hook that potentially span hundreds of lines, I'd > rather only need to scroll up to the "set =>" to see how it is set vs. > going all the way back up to the property itself. If someone has a property hook that is hundreds of lines long, their code is already crap and there's no hope for them. --Larry Garfield