- From: Maciej Stachowiak <mjs@apple.com>
- Date: Wed, 10 Jan 2007 17:50:40 -0800
- To: Anne van Kesteren <annevk@opera.com>
- Cc: "Web API WG (public)" <public-webapi@w3.org>
On Jan 9, 2007, at 2:08 PM, Anne van Kesteren wrote: > > I updated the Selectors API specification today and added > equivalent methods for element nodes. It didn't make much sense to > me to postpone this. > > I resolved the naming debate by going for: > > * Document.get() > * Document.getAll() > * Element.get() > * Element.getAll() > > These names are short, don't clash with autocomplete and provide a > superset of the functionality given by the other get* methods. +1. I think short names will be good for readability of DOM code, if these methods become as widely used as we expect. And they will do a lot towards making standard DOM methods competitive in conciseness and ease of use with "DOM Level 0" APIs. Regards, Maciej
Received on Thursday, 11 January 2007 01:51:11 UTC