W3C home > Mailing lists > Public > public-webapi@w3.org > May 2006

Re: ACTION-87: Selectors API

From: Jim Ley <jim@jibbering.com>
Date: Wed, 17 May 2006 14:35:24 +0100
Message-ID: <008f01c679b6$c0f861b0$0302a8c0@Sniff>
To: "Web APIs WG \(public\)" <public-webapi@w3.org>

"Anne van Kesteren" <annevk@opera.com>
On Wed, 17 May 2006 15:19:46 +0200, Lachlan Hunt
<lachlan.hunt@lachy.id.au> wrote:
>> I like match() too because it's much shorter than 
>> getElementsBySelector(),
>
>Right... :-)

Shortness should not be a motivatio, clear and unambiguous is the aim for 
DOM names, if you want short in your application, wrap the function, it's 
simple.

>The shortest name should represent the most efficient method imho.

Crazy notion, names should be clear, not short for efficiency.

Jim. 
Received on Wednesday, 17 May 2006 13:35:44 GMT

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