Re: [PSR-11] Review of the delegate lookup feature

2016-12-20 Thread Alessandro Lai
Kudos to you for stepping down on your proposal and to have listened to feedback! The fact that this PR hilights how much text is removed from the PSR underlines how much the delegate lookup needs a separate PSR. I think it will be better on the long run, also because you will be able to

Re: [PSR-11] Review of the delegate lookup feature

2016-11-21 Thread David Négrier
Le jeudi 17 novembre 2016 18:58:24 UTC+1, Larry Garfield a écrit : > > My main concern is that as presented the delegate > feature is not really a feature, more a "by the way, here's this cool > thing you can do." It's more something like: "by the way, if you implement DDL, your users can

Re: [PSR-11] Review of the delegate lookup feature

2016-11-20 Thread Matthieu Napoli
I'm fine with both option (include or don't include it in PSR-11). As you said David, it's a design pattern. We don't *need* to standardize it to use it. Containers that want to do stuff like that can, it's not required for decoupling frameworks from containers. If it's really needed it could

Re: [PSR-11] Review of the delegate lookup feature

2016-11-20 Thread Alessandro Pellizzari
On Thu, 17 Nov 2016 06:02:48 -0800 (PST) David Négrier wrote: > My whole point is that in order to have containers working side by > side, having a 'composite container' delegating the lookup of entries > to sub-containers is not enough. > You also have to make sure that

Re: [PSR-11] Review of the delegate lookup feature

2016-11-17 Thread GeeH
Thanks David for such a comprehensive roundup of what's being proposed. I personally found the time and effort you put into explaining the problem a great help. I am against adding this functionality for reasons already stated - I believe it's out of the scope of this PSR and would be an

Re: [PSR-11] Review of the delegate lookup feature

2016-11-17 Thread Alessandro Lai
I agree with Alessandro. Since this seems a pretty controversial point, I would drop it, in favor of continuing the discussion into a new separate PSR, or maybe the "add stuff in the container" PSR. PSR-11 is just a stepping stone for everything in this area, so I would prefer to drop it and

Re: [PSR-11] Review of the delegate lookup feature

2016-11-17 Thread Alessandro Pellizzari
On 17/11/2016 11:29, David Négrier wrote: I know some of you have doubts about this part of the PSR, so the first thing might be to decide whether we want to keep it or not. If we decide to keep it, I'm sure there are plenty of things we can do to improve the wording :) I see the advantages

[PSR-11] Review of the delegate lookup feature

2016-11-17 Thread David Négrier
Ok folks! I've been delaying this for a while to give some room for the rest of the questions about PSR-11, but now is the time to dwelve into the details of the delegate lookup feature :) I know some of you have doubts about this part of the PSR, so the first thing might be to decide whether we