rfc:any_all_on_iterable_straw_poll
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:any_all_on_iterable_straw_poll [2020/12/20 15:19] – tandre | rfc:any_all_on_iterable_straw_poll [2020/12/29 00:07] (current) – tandre | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Straw poll: Naming for *any() and *all() on iterables ====== | ====== Straw poll: Naming for *any() and *all() on iterables ====== | ||
- | * Version: 0.1 | + | * Version: 0.2 |
* Date: 2020-12-19 | * Date: 2020-12-19 | ||
* Author: Tyson Andre, tandre@php.net | * Author: Tyson Andre, tandre@php.net | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 50: | Line 50: | ||
Voting starts on 2020-12-19 and will close on 2020-12-26. | Voting starts on 2020-12-19 and will close on 2020-12-26. | ||
- | <doodle title=" | + | <doodle title=" |
* any() and all() | * any() and all() | ||
* iter_any() and iter_all() | * iter_any() and iter_all() | ||
Line 95: | Line 95: | ||
* I don't want to be in a situation where there are a large number of '' | * I don't want to be in a situation where there are a large number of '' | ||
+ | * I also don't want to be in a situation where some have $iterator as a named argument (since PHP 8.0, e.g. '' | ||
+ | * If I was choosing names from scratch, '' | ||
Changing other iterator functions such as '' | Changing other iterator functions such as '' | ||
- | * My preference would be to add new '' | + | * My preference would be to add new '' |
+ | * Any alternative RFCs to change the behaviors of '' | ||
===== References ===== | ===== References ===== |
rfc/any_all_on_iterable_straw_poll.1608477547.txt.gz · Last modified: 2020/12/20 15:19 by tandre