W3C home > Mailing lists > Public > public-webapi@w3.org > June 2006

Re: ACTION-87: Selectors API

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 05 Jun 2006 12:31:00 -0700
Message-ID: <44848674.80401@sicking.cc>
To: Anne van Kesteren <annevk@opera.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>

Anne van Kesteren wrote:
> On Wed, 31 May 2006 00:11:23 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>>>  I'm not in love with having "match" in the name, but I could live 
>>> with matchAll() and matchOne().
>> I like these names. Having short names is nice and all, but having 
>> clear ones is even better. Especially when the extra cost is just 
>> another three letters to type.
> I'm not really fond of matchOne()... Is there any precedence on this?

Don't know. But i'm not sure there is any precedence of having the 
un-postfixed method (in this case 'match') just return the first entry 
either. Usually the base method returns the full result and there are 
prefixed/postfixed methods that just return part of it.

/ Jonas
Received on Monday, 5 June 2006 19:31:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC