Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112599 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11853 invoked from network); 22 Dec 2020 18:47:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Dec 2020 18:47:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 168E31804B1 for ; Tue, 22 Dec 2020 10:20:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 22 Dec 2020 10:20:27 -0800 (PST) Received: by mail-pf1-f182.google.com with SMTP id t8so8918384pfg.8 for ; Tue, 22 Dec 2020 10:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=duncanc-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FyfDmpBr7r10devTmWCkn0o5m4oXv3T/G3L4C8Vyr+A=; b=CrYX6b1ULbMF5mutyo5p/Tqi4y4ul+MdqWcVy/Lka/K81mryhs2hfhv2/B0JEO0wcd njONRx0iUFZQRbk5dAQZCrLfPlUnQF1cSgT4fK0INtiseG3/qzd761l7YZ4KZi3zekEF T8SLCYTEg1QBFc49aE/LDjlqwuOP9Imc3VjtIsPsUGO3J99aca+mvm0jzK4Js6gHhyiU zC7F/lkCYjUz0SHmOtucIxOBVxzgXpPUVc9XhkA/Dp5fnZCKIAglvXM/MtrqG7Tbz1JD d0sP5zX/MqJOF1ehLuYb8WHKXqM0cpXJ3FUy+k4zFuXEQZ1Hc1/63Vmrkzjyoxfksd2C fh1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FyfDmpBr7r10devTmWCkn0o5m4oXv3T/G3L4C8Vyr+A=; b=ojjTL6yOng77BJF3ZSO1rVz+5n4N+33EvbUzHJUKJzhFVD2uiGIJrgbUFGbKGEBMun E0837b+5H4syZcFqLnWNnaIDhFLtc7fhTuOR4BuYAGEJDyrj2F96nzOVLlOgV/1dmXIw j8SggUoKJFhdI+m3gedJUJx33Z7tgHE4BFyoK8euAIXnc7v0db+wWU0Nbd07AuGHjMQF lPbsj8aDkxQ9/wGfP1ZCcGGeyWeNewB51T/ssMDBQKClnEzMCNghsHk8ZTKkfLNvUkFP mCXI36mrwhq/aeEzvQurG6pa9kLCteMDZBuT7Cuzl9L3oGzzjZA10Grthm4hgOIi8V9c wWUQ== X-Gm-Message-State: AOAM53289Lp4RhRwG+/Z2cAfsce3A5WaGiSLctkOpo/yR73gYVtfwvc+ /cm+hAK+n4VB86ZWQLAFkHrGsxjnMLcNAkbY X-Google-Smtp-Source: ABdhPJyFw6YAc0fhfG16+dMqPhcQgWeZkznLXbSYHgEEIZjYPLxQBrJ19Da3wZx3TpQenPaY4bJ8ow== X-Received: by 2002:a63:1152:: with SMTP id 18mr20955654pgr.268.1608661225158; Tue, 22 Dec 2020 10:20:25 -0800 (PST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com. [209.85.214.182]) by smtp.gmail.com with ESMTPSA id v125sm21847376pgv.6.2020.12.22.10.20.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Dec 2020 10:20:24 -0800 (PST) Received: by mail-pl1-f182.google.com with SMTP id g3so7850376plp.2 for ; Tue, 22 Dec 2020 10:20:24 -0800 (PST) X-Received: by 2002:a17:90a:f0ce:: with SMTP id fa14mr23257436pjb.156.1608661224036; Tue, 22 Dec 2020 10:20:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 22 Dec 2020 18:20:13 +0000 X-Gmail-Original-Message-ID: Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary="000000000000d2b14905b711a0e7" Subject: Re: [PHP-DEV] Straw poll: Naming for `*any()` and `*all()` on iterables From: php@duncanc.co.uk (Craig Duncan) --000000000000d2b14905b711a0e7 Content-Type: text/plain; charset="UTF-8" On Tue, 22 Dec 2020 at 16:21, Larry Garfield 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 --000000000000d2b14905b711a0e7--