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

Re: ACTION-87: Selectors API

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 18 May 2006 00:02:43 +1000
Message-ID: <446B2D03.4090006@lachy.id.au>
To: Anne van Kesteren <annevk@opera.com>
CC: "Web APIs WG (public)" <public-webapi@w3.org>

Anne van Kesteren wrote:
> * match("foo")[0] (when match() would return a list)
> * matchOne("foo")
> * matchFirst("foo")
> 
> The shortest name should represent the most efficient method imho.

I don't know anyone who thinks efficiency is proportional to the length 
of the function name.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Wednesday, 17 May 2006 14:03:13 GMT

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