Re: Selectors API naming

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 UTC