Levi Morrison wrote on 01/10/2015 18:40:
Or we can figure out some other such symbol. Worse casing no white space,
brain storming:
Please, I already asked people to stop making suggestions for shorter
syntax for `use()`.

I tried to move the discussion to whether or not auto-capturing variables is a good idea, regardless of syntax, but the responses continue to be of the form "but that particular example syntax looks a bit ugly".

So I agree, let's not discuss the details of ANY syntax, until we've come to some conclusion on whether or not auto-capture is a negotiable feature.


Again, if use() is a pain then auto-importing the
used variables is a good solution. If it's not a pain why are you
suggesting new syntax?

I thought I'd answered this already - because some people dislike the *verbosity* of "use" (and of the syntax in general) but are happy with the *functionality*. You are assuming that "I think the current syntax is verbose" is synonymous with "I think having to list captured variables is annoying", but there are people who do not take that position.

Regards,
--
Rowan Collins

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to