On Nov 17, 2011, at 10:16 AM, Waldemar Horwat wrote: > On Thu, Nov 17, 2011 at 3:49 AM, Axel Rauschmayer <a...@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 _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss