Re: [RFC] Property write visibility

From: Date: Mon, 29 Jun 2020 16:21:42 +0000
Subject: Re: [RFC] Property write visibility
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-110784@lists.php.net to get a copy of this message
Hey Rowan, On Mon, Jun 29, 2020, 18:19 Rowan Tommins <rowan.collins@gmail.com> wrote: > On Mon, 29 Jun 2020 at 16:44, Marco Pivetta <ocramius@gmail.com> wrote: > > > property accessors seem to perpetuate the bad practice > > of getters and setters > > > > > Outside of access restrictions, a common use case I've seen for property > accessors is lazy-loading, which I know is something you use in other > forms. > I had already tested the write-once properties RFC with lazy-loading: works just fine 👍 >

« previous php.internals (#110784) next »