rfc:cachediterable_straw_poll

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:cachediterable_straw_poll [2021/06/05 16:40] tandrerfc:cachediterable_straw_poll [2021/06/05 17:32] tandre
Line 3: Line 3:
   * Date: 2021-06-01   * Date: 2021-06-01
   * Author: Tyson Andre, <tandre@php.net>   * Author: Tyson Andre, <tandre@php.net>
-  * Status: Under Discussion+  * Status: Voting
   * First Published at: https://wiki.php.net/rfc/cachediterable_straw_poll   * First Published at: https://wiki.php.net/rfc/cachediterable_straw_poll
  
Line 24: Line 24:
  
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
 +
 +Voting on this straw poll starts on June 5, 2021 and ends on June 12, 2021.
  
 **Note that due to a limitation of the wiki software, forms must be voted on separately.** **Note that due to a limitation of the wiki software, forms must be voted on separately.**
Line 50: Line 52:
 Preferred namespacing choice for [[rfc:cachediterable|CachedIterable]] Preferred namespacing choice for [[rfc:cachediterable|CachedIterable]]
  
-<doodle title="Preferred namespacing choice for CachedIterable" auth="tandre" votetype="multi" closed="true">+(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">
    * Iterable\CachedIterable    * Iterable\CachedIterable
    * CachedIterable    * CachedIterable
    * Collections\CachedIterable    * Collections\CachedIterable
-   Other namespacing choice+   Opposed to previous namespace choices
    * Opposed to adding this functionality to php    * Opposed to adding this functionality to php
 </doodle> </doodle>
Line 63: 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="true">+<doodle title="Preferred namespacing choice for any()/all()/none()/reduce()/find()" auth="tandre" votetype="multi" closed="false">
    * Iterable\any()    * Iterable\any()
    * iterable_any()    * iterable_any()
-   Other namespacing choice+   Opposed to previous namespace choices
    * Opposed to adding this functionality to php    * Opposed to adding this functionality to php
 </doodle> </doodle>
Line 80: Line 84:
 (in this proposal, find() and reduce() act only on values of iterables, similar to how [[http://php.net/array_reduce|array_reduce]] works. Passing too many arguments is currently an error for internal functions and it is possible that it would be deprecated for user-defined functions in the future.) (in this proposal, find() and reduce() act only on values of iterables, similar to how [[http://php.net/array_reduce|array_reduce]] works. Passing too many arguments is currently an error for internal functions and it is possible that it would be deprecated for user-defined functions in the future.)
  
-<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">+("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">
    * any(...)/all(iterable $input, $callback = null): bool    * any(...)/all(iterable $input, $callback = null): bool
    * none(...): bool    * none(...): bool
Line 114: Line 120:
 (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="true">+<doodle title="Preferred namespacing for iterable\" auth="tandre" votetype="single" closed="false">
    * iterable\ (lowercase)    * iterable\ (lowercase)
-   * Iterable\ (camel case)+   * Iterable\ (CamelCase)
 </doodle> </doodle>
  
rfc/cachediterable_straw_poll.txt · Last modified: 2021/06/13 14:33 by tandre