Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-12 Thread Levi Morrison via internals
On Tue, Jul 5, 2022 at 3:39 PM shinji igarashi wrote: > > Hello internals, > > I've started the vote for the Constants in Traits RFC: > https://wiki.php.net/rfc/constants_in_traits > > The vote will end on 19. July 2022. > > Thanks! > > -- > Shinji Igarashi > > -- > PHP Internals - PHP Runtime Dev

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-10 Thread Stephen Reay
> On 11 Jul 2022, at 09:10, Mike Schinkel wrote: > >> On Jul 5, 2022, at 5:38 PM, shinji igarashi wrote: >> >> Hello internals, >> >> I've started the vote for the Constants in Traits RFC: >> https://wiki.php.net/rfc/constants_in_traits >> >> The vote will end on 19. July 2022. >> >> Thank

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-10 Thread Mike Schinkel
> On Jul 5, 2022, at 5:38 PM, shinji igarashi wrote: > > Hello internals, > > I've started the vote for the Constants in Traits RFC: > https://wiki.php.net/rfc/constants_in_traits > > The vote will end on 19. July 2022. > > Thanks! > > -- > Shinji Igarashi The reaction to this RFC has been t

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-10 Thread Nikita Popov
On Sun, Jul 10, 2022 at 3:46 PM Rowan Tommins wrote: > 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

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-10 Thread shinji igarashi
Hello everyone! > traits are pretty much unnecessary in the language. I was writing an email to introduce and defend the trait use cases and it exceeded 10,000 characters, so I decided to post the content on gist and include a summary in this email. Here's my opinion in detail for those interest

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-10 Thread Rowan Tommins
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?

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-10 Thread Björn Larsson via internals
Den 2022-07-08 kl. 18:29, skrev Jordan LeDoux: On Tue, Jul 5, 2022 at 2:39 PM shinji igarashi wrote: Hello internals, I've started the vote for the Constants in Traits RFC: https://wiki.php.net/rfc/constants_in_traits The vote will end on 19. July 2022. Thanks! -- Shinji Igarashi I don'

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-08 Thread MKS Archive
> On Jul 8, 2022, at 12:29 PM, Jordan LeDoux wrote: > > On Tue, Jul 5, 2022 at 2:39 PM shinji igarashi > wrote: > >> Hello internals, >> >> I've started the vote for the Constants in Traits RFC: >> https://wiki.php.net/rfc/constants_in_traits >> >> The vote will end on 1

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-08 Thread Jordan LeDoux
On Tue, Jul 5, 2022 at 2:39 PM shinji igarashi wrote: > Hello internals, > > I've started the vote for the Constants in Traits RFC: > https://wiki.php.net/rfc/constants_in_traits > > The vote will end on 19. July 2022. > > Thanks! > > -- > Shinji Igarashi > > I don't have a vote, but I wanted to

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-07 Thread Sebastian Bergmann
On 7/6/22 11:45, Marco Pivetta wrote: I don't want traits to expand in scope I voted NO for this exact reason. From a technical and detail PoV, your RFC is well written and implemented: it just solves a problem that doesn't/shouldn't need solving. Agreed! -- PHP Internals - PHP Runtime Dev

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-06 Thread shinji igarashi
Hey Marco, thanks for giving your reasons! > traits are pretty much unnecessary in the language. Perhaps for this RFC it is necessary to first provide use cases for traits and defend themselves before trait constants. It's understandable that this is a premise that needs to be shared first, sinc

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-06 Thread Marco Pivetta
On Wed, 6 Jul 2022 at 16:26, Larry Garfield wrote: > simply not the case at all. > It's neither "simply" nor "not the case at all". They are the spaghettiest concept in the language after autoloading symbol resolution shenanigans, so be my guest in writing a blogpost that puts measurable value

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-06 Thread Larry Garfield
On Wed, Jul 6, 2022, at 9:23 AM, Marco Pivetta wrote: > Also, the idea of the RFC process here is that voters bring in their own > requirements: my requirement is as subjective as yours. Sure. You're welcome to vote against this or any RFC for whatever reasons you have. What I was objecting t

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-06 Thread Marco Pivetta
On Wed, 6 Jul 2022 at 16:17, Larry Garfield wrote: > On Wed, Jul 6, 2022, at 4:45 AM, Marco Pivetta wrote: > > Hey Shinji, > > > > On Tue, 5 Jul 2022 at 23:39, shinji igarashi wrote: > > > >> Hello internals, > >> > >> I've started the vote for the Constants in Traits RFC: > >> https://wiki.php.

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-06 Thread Larry Garfield
On Wed, Jul 6, 2022, at 4:45 AM, Marco Pivetta wrote: > Hey Shinji, > > On Tue, 5 Jul 2022 at 23:39, shinji igarashi wrote: > >> Hello internals, >> >> I've started the vote for the Constants in Traits RFC: >> https://wiki.php.net/rfc/constants_in_traits >> >> The vote will end on 19. July 2022. >

Re: [PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-06 Thread Marco Pivetta
Hey Shinji, On Tue, 5 Jul 2022 at 23:39, shinji igarashi wrote: > Hello internals, > > I've started the vote for the Constants in Traits RFC: > https://wiki.php.net/rfc/constants_in_traits > > The vote will end on 19. July 2022. > I voted "NO" on this. Reasoning: * traits are pretty much unn

[PHP-DEV] [RFC] [VOTE] Constants in traits

2022-07-05 Thread shinji igarashi
Hello internals, I've started the vote for the Constants in Traits RFC: https://wiki.php.net/rfc/constants_in_traits The vote will end on 19. July 2022. Thanks! -- Shinji Igarashi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php