On Thu, Jun 10, 2021, 2:32 PM Nikita Popov <nikita....@gmail.com> wrote:

I'm not sure where you got the strange idea that "readonly" can refer to
> asymmetric visibility. The two syntactic approaches to asymmetric
> visibility that I'm aware of are "{ get; private set; }" in C# and "public
> private(set)" in Swift. Neither use the "readonly" terminology for this
> purpose. Using "readonly" to describe asymmetric visibility is semantically
> incorrect, as such properties are not, in fact, read-only.
>

I listed my refs in the initial reply :)

And some like .net updates their syntax for init only write. I suppose I
see it more as "from the outside of the class" and my personal usages are
like that too.

In any case, good rfc, naming perception is a details, important but a
details for first time users.



> Regards,
> Nikita
>

Reply via email to