Re: Straw poll: Naming for `*any()` and `*all()` on iterables
| From: | Craig Duncan | Date: | Tue, 22 Dec 2020 18:20:13 +0000 |
| Subject: | Re: Straw poll: Naming for `*any()` and `*all()` on iterables | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112599@lists.php.net to get a copy of this message | ||
On Tue, 22 Dec 2020 at 16:21, Larry Garfield <larry@garfieldtech.com> wrote:
> That's why I am OK with most options except
iterable_,
> because that's a
> lot of needless typing.
>
Whether the prefix is iterable or iter or just i, I'll always be typing
iany and hitting enter, letting my IDE do the leg work, avoiding any
needless typing
On Tue, 22 Dec 2020 at 17:08, Levi Morrison via internals <
internals@lists.php.net> wrote:
> I want to re-iterate my opinion on this discussion thread: anything with a
> prefix is a hard-no from me. Namespaces are literally designed for this
>
I don't understand why iter\any() and iter\all() don't appear in this straw
poll as they were in Nikita's original mail