Re: Selectors API naming

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 UTC