On Mon, Oct 13, 2014 at 4:25 PM, Rick Waldron <[email protected]>
wrote:


>
> On Monday, October 13, 2014, Domenic Denicola <[email protected]>
> wrote:
>
>> From: es-discuss [mailto:[email protected]] On Behalf Of
>> Allen Wirfs-Brock
>>
>> > An old discussion.  See:
>>
>> These only address the `forEach` method though, and not the strange
>> design of `entries()`, `values()`, and `keys()`.
>
>
>  Can you be more specific, "strange" is subjective and it's not clear what
> your referring to.
>

I think this may bring the thread to bikesheading :) In this case it's less
subjective, since `entries()` simply does not make (big, any?) sense for
sets from the abstraction perspective. As well as `keys()`. Only user-level
matters, implementations do not matter in API designs.

As long as it's already "locked" and was discussed in detail previously, I
think we can just close this one, I already warned about future confusions.
Reusing of a callback function could be considered as a good reason.

Dmitry
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to