Hi,

On Fri, 26 Jan 2007 23:10:47 +0100, Charles McCathieNevile <[EMAIL PROTECTED]> wrote:

On Fri, 26 Jan 2007 06:34:28 -0500, Simon Pieters <[EMAIL PROTECTED]> wrote:

Please note though that Robert typoed the method name. Aditionally, I typoed it too

Sure. You also made a typo with Additionally, above.

Well. That was a misspelling, actually. English isn't my first language.

...and that typo really wasn't intentional just to prove a point. It is easily typoed and I think that is a serious problem.

Our judgement was based on the fact that in general people who are prone to
typos debug them, or use a tool to avoid making such problems.

I've seen these methods be spelled incorrectly almost as often as they were spelled correctly, mostly due to wanting to type "ElementsList" instead of "ElementList", and omitting the trailing "s" from "Selectors".

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.

Of the two getElementListBySelector and getElementsBySelector, the people I've spoken to seem to prefer getElementsBySelector.

The reason for GetElementListBySelectors and not getElementsBySelectors was to make it moderately clear and give people a better chance of debugging quickly.

Although if API consistency is desireable then "getElementListBy..." doesn't seem to appear anywhere as far as I can tell.

Regards,
--
Simon Pieters

Reply via email to