Re: [RFC] [VOTE] Constants in traits

From: Date: Sun, 10 Jul 2022 13:46:31 +0000
Subject: Re: [RFC] [VOTE] Constants in traits
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-118236@lists.php.net to get a copy of this message
On 10/07/2022 13:51, Björn Larsson via internals wrote:
I think it's quite unlikely to deprecate such a rather big feature and from that perspective I think one should do it as good as possible. Even if one thinks that this is a bad feature not to be expanded, why not try to make it work better? So, I hope this RFC passes!
I agree. Having sat down and read through the RFC, it is extremely conservative in its scope, and presents a clear case that it will fix a source of bugs in things that people can already do, i.e. reference constants inside a trait definition. It seems very unlikely that this change will make people suddenly use traits in more "wrong" places, nor prevent any alternative horizontal reuse / composition aid features being added in future. Regards, -- Rowan Tommins [IMSoP]

« previous php.internals (#118236) next »