Re: [VOTE] ImmutableIterable (immutable, rewindable, allows any key&repeating keys)
| From: | Derick Rethans | Date: | Tue, 15 Jun 2021 23:35:57 +0000 |
| Subject: | Re: [VOTE] ImmutableIterable (immutable, rewindable, allows any key&repeating keys) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-114899@lists.php.net to get a copy of this message | ||
On 16 June 2021 00:19:14 BST, tyson andre <tysonandre775@hotmail.com> wrote:
>> Maybe better use "IterableImmutable" to be more consistent with
>"DateTimeImmutable"?
>
>1. Replies won't show up on list if they aren't sent to
>internals@lists.php.net
>2. I consider the name DateTimeImmutable a mistake (but one that isn't
>worth fixing).
>If it was done from scratch I believe ImmutableDateTime would make more
>sense with the adjective first, then the noun.
No. If it was done from scratch, we'd only have DateTime, which would be immutable.
cheers,
Derick