I prefer yield from, because it yields that value from the generator. Yield
use doesn't make any sense to me if I read those words.

Additionally, it's already used by another language.

Regards, Niklas

Daniel Lowrey <rdlow...@php.net> schrieb am Mo., 02.03.2015, 17:13:

> From initial discussions it seems prudent to modify the Generator
> Delegation RFC to use either of:
>
>   - yield from <expr>
>   - yield use <expr>
>
> The `yield from` form would add a single T_YIELD_FROM token (as opposed to
> a new "from" reserved word). The `yield use` form would reuse existing
> keywords. I'd like to get feedback from people on preferences between these
> two options before modifying the RFC. If general consensus isn't reached
> this can be a voting option, but I prefer a traditional yes/no vote
> to ménage à trois.
>
> Thanks again for your participation.
>

Reply via email to