W3C home > Mailing lists > Public > public-webapi@w3.org > January 2007

Re: Selectors API naming

From: Doug Schepers <doug@schepers.cc>
Date: Fri, 26 Jan 2007 18:29:23 -0500
Message-ID: <45BA8ED3.9050000@schepers.cc>
To: Web APIs WG <public-webapi@w3.org>

Hi, Ian-

Ian Hickson wrote:
> On Fri, 26 Jan 2007, Doug Schepers wrote:
>>> A way to reduce the number of typos might be to drop the trailing "s" 
>>> from both method names. It's equally clear what it does IMHO.
>> Hmmm... that's a reasonable point, but "Selector" (singular) is a bit 
>> misleading.  You can provide multiple criteria.
> 
> If it helps, as one of the editors of the Selectors specification, I would 
> say that it isn't incorrect to consider "div, p" to be a selector 
> (singular). The terminology in the spec says that technically that's a 
> group of selectors, but I wouldn't worry about that.

I would be fine either way.  If we want to remove the "s", let's do 
(especially if it does cause tyops).  I think I was the one who 
suggested it to counter getElementByGroupOfSelectors (which even I think 
is too long).

Regards-
-Doug
Received on Friday, 26 January 2007 23:29:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT