Nov 16 meeting notes

2011-11-16 Thread Waldemar Horwat
Here are my rough notes from today's meeting. Waldemar IPR discussions Test262 status Internationalization: due by March meeting if we want to try for June GA Doug Crockfords's presentation at Silicon Valley Code Camp. User feedback gathered by Doug: * Users like quasis. * Half of the

Re: Nov 16 meeting notes

2011-11-16 Thread Mikeal Rogers
On Nov 16, 2011, at November 16, 20115:19 PM, Waldemar Horwat wrote: > * Confusion about map. Particularly for people who work on (geographic) maps. This is surprising. I might expect confusion with [].map() but not with geographic maps. Is there any additional information about the pool that

Re: Nov 16 meeting notes

2011-11-16 Thread Brendan Eich
On Nov 16, 2011, at 5:19 PM, Waldemar Horwat wrote: > Internationalization presentation. > > Allen: Can a web developer reasonably depend on his webapp working the same > in a given locale on any conforming browser? > Answer: No. > MarkM: Are there specific areas where it's possible to pin impl

Re: Nov 16 meeting notes

2011-11-17 Thread Gavin Barraclough
On Nov 16, 2011, at 5:19 PM, Waldemar Horwat wrote: > Map/Set: > Size property should be a getter property with no matching setter. It's > defined on the property. > What is its name? size, count, or length? Decide on es-discuss. Hi Waldemar, I'm unclear what "It's defined on the property"

Re: Nov 16 meeting notes

2011-11-17 Thread Mark S. Miller
On Thu, Nov 17, 2011 at 12:12 AM, Gavin Barraclough wrote: > On Nov 16, 2011, at 5:19 PM, Waldemar Horwat wrote: > > Map/Set: > Size property should be a getter property with no matching setter. It's > defined on the property. > What is its name? size, count, or length? Decide on es-discuss. >

Re: Nov 16 meeting notes

2011-11-17 Thread Axel Rauschmayer
>> Map/Set: >> Size property should be a getter property with no matching setter. It's >> defined on the property. >> What is its name? size, count, or length? Decide on es-discuss. Given that Array already uses `length`, it seems like the obvious choice. Some of the things discussed should

Re: Nov 16 meeting notes

2011-11-17 Thread David Bruant
Hi, Thanks for these notes. Le 17/11/2011 02:19, Waldemar Horwat a écrit : > Here are my rough notes from today's meeting. > > Waldemar > > IPR discussions > > Test262 status Do you have any details on this point? A roadmap? Thanks, David ___ es-d

Re: Nov 16 meeting notes

2011-11-17 Thread David Bruant
Le 17/11/2011 12:49, Axel Rauschmayer a écrit : >> >>> Map/Set: >>> Size property should be a getter property with no matching >>> setter. It's defined on the property. >>> What is its name? size, count, or length? Decide on es-discuss. >> > > Given that Array already uses `lengt

Re: Nov 16 meeting notes

2011-11-17 Thread David Bruant
Le 17/11/2011 02:40, Mikeal Rogers a écrit : > On Nov 16, 2011, at November 16, 20115:19 PM, Waldemar Horwat wrote: >> * Confusion about map. Particularly for people who work on (geographic) >> maps. > This is surprising. I might expect confusion with [].map() but not with > geographic maps. I'm

Re: Nov 16 meeting notes

2011-11-17 Thread Waldemar Horwat
On Thu, Nov 17, 2011 at 3:49 AM, Axel Rauschmayer 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. Waldem

Re: Nov 16 meeting notes

2011-11-17 Thread Waldemar Horwat
On Thu, Nov 17, 2011 at 12:12 AM, Gavin Barraclough wrote: > On Nov 16, 2011, at 5:19 PM, Waldemar Horwat wrote: > > Map/Set: > Size property should be a getter property with no matching setter.  It's > defined on the property. > What is its name?  size, count, or length?  Decide on es-discuss. >

Re: Nov 16 meeting notes

2011-11-17 Thread Dean Landolt
On Thu, Nov 17, 2011 at 1:16 PM, Waldemar Horwat wrote: > On Thu, Nov 17, 2011 at 3:49 AM, Axel Rauschmayer > 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 t

Re: Nov 16 meeting notes

2011-11-17 Thread Nebojša Ćirić
> > > Internationalization presentation. > > > > Allen: Can a web developer reasonably depend on his webapp working the > same in a given locale on any conforming browser? > > Answer: No. > > MarkM: Are there specific areas where it's possible to pin > implementations down more? > > > > Alex: Wan

Re: Nov 16 meeting notes

2011-11-17 Thread Brendan Eich
On Nov 17, 2011, at 10:16 AM, Waldemar Horwat wrote: > On Thu, Nov 17, 2011 at 3:49 AM, Axel Rauschmayer 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 co

Re: Nov 16 meeting notes

2011-11-17 Thread Brendan Eich
On Nov 17, 2011, at 11:26 AM, Dean Landolt wrote: > Who can resist such a juicy bikeshed... Yup. > Just wanted to jump in and say non-writable length is consistent with String > behavior as well, but David makes a good point about length implying metric > topology. David's suggestion of `coun

Re: Nov 16 meeting notes

2011-11-18 Thread Peter van der Zee
On Thu, Nov 17, 2011 at 10:02 PM, Brendan Eich wrote: > On Nov 17, 2011, at 11:26 AM, Dean Landolt wrote: > >> Who can resist such a juicy bikeshed... Please keep the general js api consistent. We don't use "count" for anything to consider "the number of elements in the structure" (actually, we d

Re: Nov 16 meeting notes

2011-11-18 Thread Brendan Eich
On Nov 18, 2011, at 2:00 AM, Peter van der Zee wrote: > On Thu, Nov 17, 2011 at 10:02 PM, Brendan Eich wrote: >> On Nov 17, 2011, at 11:26 AM, Dean Landolt wrote: >> >>> Who can resist such a juicy bikeshed... > > Please keep the general js api consistent. We don't use "count" for > anything to

Re: Nov 16 meeting notes

2011-11-23 Thread David Herman
On Nov 17, 2011, at 10:16 AM, Waldemar Horwat wrote: > On Thu, Nov 17, 2011 at 3:49 AM, Axel Rauschmayer 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 co

Re: Nov 16 meeting notes

2011-11-23 Thread David Herman
On Nov 18, 2011, at 2:00 AM, Peter van der Zee wrote: > On Thu, Nov 17, 2011 at 10:02 PM, Brendan Eich wrote: >> On Nov 17, 2011, at 11:26 AM, Dean Landolt wrote: >> >>> Who can resist such a juicy bikeshed... > > Please keep the general js api consistent. A foolish consistency... We also use

Re: Nov 16 meeting notes

2011-11-23 Thread David Herman
On Nov 23, 2011, at 10:17 AM, David Herman wrote: > On Nov 18, 2011, at 2:00 AM, Peter van der Zee wrote: > >> On Thu, Nov 17, 2011 at 10:02 PM, Brendan Eich wrote: >>> On Nov 17, 2011, at 11:26 AM, Dean Landolt wrote: >>> Who can resist such a juicy bikeshed... >> >> Please keep the gene

Re: Nov 16 meeting notes

2011-11-23 Thread Dean Landolt
On Wed, Nov 23, 2011 at 1:17 PM, David Herman wrote: > On Nov 18, 2011, at 2:00 AM, Peter van der Zee wrote: > > > On Thu, Nov 17, 2011 at 10:02 PM, Brendan Eich > wrote: > >> On Nov 17, 2011, at 11:26 AM, Dean Landolt wrote: > >> > >>> Who can resist such a juicy bikeshed... > > > > Please keep

Re: Nov 16 meeting notes

2011-11-23 Thread Axel Rauschmayer
>> Please keep the general js api consistent. > > A foolish consistency... > > We also use 'hasOwnProperty' and 'forEach' and 'toLocaleString' in JS. Why > not use those names? Because it's not the same operation. Neither is it the > same thing as .length. An array is a sequential data structur

Re: Nov 16 meeting notes

2011-11-23 Thread Dean Landolt
On Wed, Nov 23, 2011 at 1:29 PM, Dean Landolt wrote: > > > On Wed, Nov 23, 2011 at 1:17 PM, David Herman wrote: > >> On Nov 18, 2011, at 2:00 AM, Peter van der Zee wrote: >> >> > On Thu, Nov 17, 2011 at 10:02 PM, Brendan Eich >> wrote: >> >> On Nov 17, 2011, at 11:26 AM, Dean Landolt wrote: >>

Re: Nov 16 meeting notes

2011-11-23 Thread Michael Haufe
On Wed, Nov 23, 2011 at 12:15 PM, David Herman wrote: > Calling it "length" would be a mistake. The word "length" means the measurement of a sequence: Of course, the word "magnitude" could consistently apply to arrays, sets, numbers, maps, and so on. No one would want to write it though...

Re: Nov 16 meeting notes

2011-11-23 Thread Brendan Eich
On Nov 23, 2011, at 10:29 AM, Dean Landolt wrote: > Object.prototype.count => total keys Once upon a time, SpiderMonkey supported __count__ (acted like a readonly accessor on Object.prototype but masqueraded as own in objects delegating to O.p), whose value was the number of enumerable properti

Re: Nov 16 meeting notes

2011-11-23 Thread Dean Landolt
On Wed, Nov 23, 2011 at 2:11 PM, Michael Haufe wrote: > On Wed, Nov 23, 2011 at 12:15 PM, David Herman wrote: > > > Calling it "length" would be a mistake. The word "length" means the > measurement of a sequence: > > > Of course, the word "magnitude" could consistently apply to arrays, sets, > num

Re: Nov 16 meeting notes

2011-11-23 Thread Dmitry Soshnikov
On 23.11.2011 23:14, Brendan Eich wrote: On Nov 23, 2011, at 10:29 AM, Dean Landolt wrote: Object.prototype.count => total keys Once upon a time, SpiderMonkey supported __count__ (acted like a readonly accessor on Object.prototype but masqueraded as own in objects delegating to O.p), whose

Re: Nov 16 meeting notes

2011-11-23 Thread Dean Landolt
On Wed, Nov 23, 2011 at 2:15 PM, Dean Landolt wrote: > > > On Wed, Nov 23, 2011 at 2:11 PM, Michael Haufe > wrote: > >> On Wed, Nov 23, 2011 at 12:15 PM, David Herman wrote: >> >> > Calling it "length" would be a mistake. The word "length" means the >> measurement of a sequence: >> >> >> Of cour

Re: Nov 16 meeting notes

2011-11-23 Thread Bill Frantz
On 11/23/11 at 10:31, a...@rauschma.de (Axel Rauschmayer) wrote: Please keep the general js api consistent. A foolish consistency... We also use 'hasOwnProperty' and 'forEach' and 'toLocaleString' in JS. Why not use those names? Because it's not the same operation. Neither is it the same th

Re: Nov 16 meeting notes

2011-11-23 Thread David Herman
On Nov 23, 2011, at 3:17 PM, Bill Frantz wrote: > I did a lot of Java programming 10 to 15 years ago. Most of the pain has > subsided into distant memory, but the pain of different method names used to > find out how many objects are currently in a collection is still fresh in my > memory. Fai

Re: Nov 16 meeting notes

2011-11-23 Thread Till Schneidereit
>> (I survived the Algol68 report. If you want to have only one precise meaning >> for a word, don't borrow one from a natural language. Otherwise just accept >> that in technical usage, a word's meaning(s) may be only loosely connected >> to its natural language meanings.) > > I'm just basing t

Re: Nov 16 meeting notes

2011-11-23 Thread Bill Frantz
On 11/23/11 at 16:38, dher...@mozilla.com (David Herman) wrote: I'm just basing this on my experience. I'm used to "the number of things in this collection" being called the "size" not the "length". I'm OK with any of: length, size, count, or even numberOfThingsCollected. (I realize Brendan w

Re: Nov 16 meeting notes

2011-11-24 Thread Kevin Reid
On Nov 23, 2011, at 13:27, David Herman wrote: > An additional point about consistency: many scripting languages talk about > the "length" of a table data structure because they actually expose the > representation of a table as an array or list. I dispute your examples, as follows: > IIRC Per