On Aug 8, 2013 9:31 PM, "Daniel Bingham" <daniel.bing...@ellislab.com>
wrote:
>
> Hey Igor,
>
> I love the RFC, but how about:
>
> use bar\baz() as baz;
>
> As an alternative to "use function".  Still new syntax, but a little less
> wordy.

The parenthesis add the feeling that it should be evaluated imho, I.e. the
result of that function should be used as baz. That could possibly lead to
confusion. I know you're suggesting as an additional syntax not
alternative, but I don't get good vibes from it.

Also might not even be possible due to how the parser handles parenthesis,
but I'd have to look over the parser grammar to be sure.

But another +1 from me on the RFC as a whole. Now its there I can't believe
it took so long.

Reply via email to