rfc:cachediterable_straw_poll
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rfc:cachediterable_straw_poll [2021/06/05 16:46] tandre |
rfc:cachediterable_straw_poll [2021/06/13 14:33] (current) 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, < | * Author: Tyson Andre, < | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 54: | Line 54: | ||
(No namespace alternatives were suggested between announcing the straw poll and opening the straw poll in https:// | (No namespace alternatives were suggested between announcing the straw poll and opening the straw poll in https:// | ||
- | <doodle title=" | + | <doodle title=" |
* Iterable\CachedIterable | * Iterable\CachedIterable | ||
* CachedIterable | * CachedIterable | ||
Line 67: | Line 67: | ||
Preferred namespacing choice for successors to the [[rfc: | Preferred namespacing choice for successors to the [[rfc: | ||
- | <doodle title=" | + | <doodle title=" |
* Iterable\any() | * Iterable\any() | ||
* iterable_any() | * iterable_any() | ||
Line 84: | Line 84: | ||
(in this proposal, find() and reduce() act only on values of iterables, similar to how [[http:// | (in this proposal, find() and reduce() act only on values of iterables, similar to how [[http:// | ||
- | <doodle title=" | + | (" |
+ | |||
+ | <doodle title=" | ||
* any(...)/ | * any(...)/ | ||
* none(...): bool | * none(...): bool | ||
Line 90: | 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 | ||
</ | </ | ||
+ | **EDIT: The redundant option " | ||
+ | |||
==== Preferred namespace case to use for iterable/ | ==== Preferred namespace case to use for iterable/ | ||
Line 118: | Line 123: | ||
(Aside: shorter namespace names such as iter were unpopular in a [[rfc: | (Aside: shorter namespace names such as iter were unpopular in a [[rfc: | ||
- | <doodle title=" | + | <doodle title=" |
* iterable\ (lowercase) | * iterable\ (lowercase) | ||
* Iterable\ (CamelCase) | * Iterable\ (CamelCase) | ||
Line 128: | Line 133: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | |||
+ | ===== Changelog ===== | ||
+ | |||
+ | 0.2.1: Add " |
rfc/cachediterable_straw_poll.1622911593.txt.gz · Last modified: 2021/06/05 16:46 by tandre