On Sat, 15 Jun 2019 at 23:57, Marco Pivetta <ocram...@gmail.com> wrote:

> On Sat, Jun 15, 2019, 23:53 Wes <netmo....@gmail.com> wrote:
>
> > Hello PHP, I just published
> >
> > https://wiki.php.net/rfc/alternative-closure-use-syntax
> >
> > I would love your opinion on this
> >
> > I know it seems overkill and wrong to have two different syntaxes for the
> > same thing, but I really believe that's all we need to fix one of the
> most
> > hated PHP syntax bits.
> >
> > Thank you.
> >
> > Wes
> >
>
> Tbh, I love the fact that closures have explicitly imported scope: makes it
> clear when something is starting to have too many responsibilities.
>


I personally don't really mind the current way of doing imports and I agree
with Marco that it makes clean when a closure tries to do too much.

However, I kind of like/understand the syntax proposed so this is more a +0
for me than anything else.

Best regards


George P. Banyard

Reply via email to