Re: Re: [RFC] Object Initializer

From: Date: Mon, 16 Sep 2019 15:16:54 +0000
Subject: Re: Re: [RFC] Object Initializer
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-107174@lists.php.net to get a copy of this message
Hi Rowan, pon., 16 wrz 2019 o 16:57 Rowan Tommins <rowan.collins@gmail.com> napisał(a): > > >> >>> >>> That would require multiple new features, though, so initializers might >>> be >>> more achievable in the short term, and perhaps there is room for both, >>> particularly if support for getters and setters improves. >>> >>> >> Here again, IIRC you're trying to solve the issue which is off-topic. >> Improving protected and private properties initialization through >> constructor is not the main target of current RFC. >> > > > > I don't think it's off-topic to consider whether a related feature would > make this one redundant. However, you've picked a weird sentence to reply > to, because I'm agreeing with you, that the two features could exist side > by side without being redundant. > Sorry for that, the quoted sentence was left unintentionally and yes, it's not off-topic. Had to rethink what I was trying to say, but I do think both these features could exist. Regards, Michał Brzuchalski

« previous php.internals (#107174) next »