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

Re: Selectors API naming

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 26 Jan 2007 23:14:13 +0000 (UTC)
To: Doug Schepers <doug.schepers@vectoreal.com>
Cc: Web APIs WG <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0701262311220.21318@dhalsim.dreamhost.com>

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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 26 January 2007 23:14:24 GMT

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