RE: [PHP-DEV] Revisit: Traits requiring composing class to implement interface

2011-11-04 Thread Jonathan Bond-Caron
On Sat Oct 22 04:38 AM, Nathan Nobbe wrote: > Hi folks, > > With a 5.4 release right around the corner I'd like a moment of your > time to reconsider this issue [1]. > > Just curious why it died on the table if several folks saw value in > it, including Stephan who I gather is the primary archit

Re: [PHP-DEV] Revisit: Traits requiring composing class to implement interface

2011-10-24 Thread Stefan Marr
Hi Anthony: On 24 Oct 2011, at 07:06, Anthony Ferrara wrote: >> Please refer to: >> https://wiki.php.net/rfc/horizontalreuse#handling_of_propertiesstate >> >> "Traits do not provide any provisioning for handling state." > > The original RFC was correct in that traits should not have any state.

Re: [PHP-DEV] Revisit: Traits requiring composing class to implement interface

2011-10-24 Thread Anthony Ferrara
Stefan, Thanks for the reply. I disagree on a few points that you made however. See below for my reply. > Please refer to: > https://wiki.php.net/rfc/horizontalreuse#handling_of_propertiesstate > > "Traits do not provide any provisioning for handling state." The original RFC was correct in th

Re: [PHP-DEV] Revisit: Traits requiring composing class to implement interface

2011-10-23 Thread Stefan Marr
Hi Anthony: I will not comment on the original question of this thread, but felt obliged to point out some details where my understanding differs from what I understand from your explanation. On 22 Oct 2011, at 07:25, Anthony Ferrara wrote: > Well, I have a few opinions on this that I think a

RE: [PHP-DEV] Revisit: Traits requiring composing class to implement interface

2011-10-22 Thread Jonathan Bond-Caron
On Sat Oct 22 10:25 AM, Anthony Ferrara wrote: > Well, I have a few opinions on this that I think are worth sharing: > > 1. If this change is made, we no longer would have mixins, but would > have regular multiple-inheritance (With all the "issues" associated > with it). Note that I said mixins

Re: [PHP-DEV] Revisit: Traits requiring composing class to implement interface

2011-10-22 Thread Nathan Nobbe
On Sat, Oct 22, 2011 at 8:25 AM, Anthony Ferrara wrote: > Well, I have a few opinions on this that I think are worth sharing: > Anthony, thanks for your reply. 1. If this change is made, we no longer would have mixins, but would > have regular multiple-inheritance (With all the "issues" associat

Re: [PHP-DEV] Revisit: Traits requiring composing class to implement interface

2011-10-22 Thread Anthony Ferrara
Well, I have a few opinions on this that I think are worth sharing: 1. If this change is made, we no longer would have mixins, but would have regular multiple-inheritance (With all the "issues" associated with it). Note that I said mixins and not traits. That's because since these were implement