Nov 16 meeting notes

David Herman dherman at mozilla.com
Wed Nov 23 10:15:46 PST 2011


On Nov 17, 2011, at 10:16 AM, Waldemar Horwat wrote:

> On Thu, Nov 17, 2011 at 3:49 AM, Axel Rauschmayer <axel at rauschma.de> wrote:
>> 
>> Given that Array already uses `length`, it seems like the obvious choice.
> 
> "length" is my choice as well, for the same reason. It's not writable
> in Maps and Sets, so the concerns about the semantics of writing it
> don't apply.

Calling it "length" would be a mistake. The word "length" means the measurement of a sequence:

    http://dictionary.reference.com/browse/length

Maps and sets are not intended to be ordered data structures. Their intended use is for programs that do not depend on any order of the data.

Dave



More information about the es-discuss mailing list