rfc:cachediterable_straw_poll

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:cachediterable_straw_poll [2021/06/05 17:32]
tandre
rfc:cachediterable_straw_poll [2021/06/13 14:33]
tandre close poll
Line 1: Line 1:
 ====== PHP RFC: Straw poll: Namespace to use for CachedIterable and iterable functionality ====== ====== PHP RFC: Straw poll: Namespace to use for CachedIterable and iterable functionality ======
-  * Version: 0.2+  * Version: 0.2.1
   * Date: 2021-06-01   * Date: 2021-06-01
   * Author: Tyson Andre, <tandre@php.net>   * Author: Tyson Andre, <tandre@php.net>
-  * Status: Voting+  * Status: Closed
   * First Published at: https://wiki.php.net/rfc/cachediterable_straw_poll   * First Published at: https://wiki.php.net/rfc/cachediterable_straw_poll
  
Line 54: Line 54:
 (No namespace alternatives were suggested between announcing the straw poll and opening the straw poll in https://externals.io/message/114687#114687) (No namespace alternatives were suggested between announcing the straw poll and opening the straw poll in https://externals.io/message/114687#114687)
  
-<doodle title="Preferred namespacing choice for CachedIterable" auth="tandre" votetype="multi" closed="false">+<doodle title="Preferred namespacing choice for CachedIterable" auth="tandre" votetype="multi" closed="true">
    * Iterable\CachedIterable    * Iterable\CachedIterable
    * CachedIterable    * CachedIterable
Line 67: Line 67:
 Preferred namespacing choice for successors to the [[rfc:any_all_on_iterable|any() and all() on iterables]] RFC: [[https://github.com/php/php-src/pull/6053|any()/all()/none()/find()/reduce()]] Preferred namespacing choice for successors to the [[rfc:any_all_on_iterable|any() and all() on iterables]] RFC: [[https://github.com/php/php-src/pull/6053|any()/all()/none()/find()/reduce()]]
  
-<doodle title="Preferred namespacing choice for any()/all()/none()/reduce()/find()" auth="tandre" votetype="multi" closed="false">+<doodle title="Preferred namespacing choice for any()/all()/none()/reduce()/find()" auth="tandre" votetype="multi" closed="true">
    * Iterable\any()    * Iterable\any()
    * iterable_any()    * iterable_any()
Line 86: Line 86:
 ("Still too small in scope" means you would probably vote against the implementation as-is for that reason) ("Still too small in scope" means you would probably vote against the implementation as-is for that reason)
  
-<doodle title="Global functions I would want to add to PHP to act on iterables as described in implementation link" auth="tandre" votetype="multi" closed="false">+<doodle title="Global functions I would want to add to PHP to act on iterables as described in implementation link" auth="tandre" votetype="multi"  closed="true">
    * any(...)/all(iterable $input, $callback = null): bool    * any(...)/all(iterable $input, $callback = null): bool
    * none(...): bool    * none(...): bool
Line 92: Line 92:
    * reduce(iterable $input, $callback, $initial = null): mixed    * reduce(iterable $input, $callback, $initial = null): mixed
    * Still too small in scope    * Still too small in scope
 +   * Opposed to adding this functionality to php
 </doodle> </doodle>
 +**EDIT: The redundant option "Opposed to adding this functionality to php" was added to the vote on global functions after the start of the vote** to make it easier to vote on at least one option. See "Preferred namespacing choice" for other voters opposed to the functionality.
 + 
  
 ==== Preferred namespace case to use for iterable/Iterable ==== ==== Preferred namespace case to use for iterable/Iterable ====
Line 120: Line 123:
 (Aside: shorter namespace names such as iter were unpopular in a [[rfc:any_all_on_iterable_straw_poll_namespace|previous straw poll]], and iter would conflict with https://github.com/nikic/iter) (Aside: shorter namespace names such as iter were unpopular in a [[rfc:any_all_on_iterable_straw_poll_namespace|previous straw poll]], and iter would conflict with https://github.com/nikic/iter)
  
-<doodle title="Preferred namespacing for iterable\" auth="tandre" votetype="single" closed="false">+<doodle title="Preferred namespacing for iterable\" auth="tandre" votetype="single" closed="true">
    * iterable\ (lowercase)    * iterable\ (lowercase)
    * Iterable\ (CamelCase)    * Iterable\ (CamelCase)
Line 130: Line 133:
   * https://wiki.php.net/rfc/namespaces_in_bundled_extensions   * https://wiki.php.net/rfc/namespaces_in_bundled_extensions
   * https://wiki.php.net/rfc/any_all_on_iterable_straw_poll_namespace   * https://wiki.php.net/rfc/any_all_on_iterable_straw_poll_namespace
 +
 +===== Changelog =====
 +
 +0.2.1: Add "Opposed to adding this functionality to php" to the vote on which global functions to make voting on at least one option easier and note that it was also asked in the previous poll
rfc/cachediterable_straw_poll.txt · Last modified: 2021/06/13 14:33 by tandre