Re: [RFC] Asymmetric visibility

From: Date: Mon, 08 Aug 2022 07:54:03 +0000
Subject: Re: [RFC] Asymmetric visibility
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-118379@lists.php.net to get a copy of this message
Hi all, In the discussion I sometimes see the terminology 'readonly' and 'writable' being used. This is confusing because when the property is an object that itself is mutable, there is nothing read-only about it. The terminology in the RFC seems right to me, and overall it seems solid. However, I'm not convinced this RFC is solving a real issue. I could not find any reasoning in the RFC, except that Swift has a very similar language feature. Grtz, Casper

« previous php.internals (#118379) next »