Re: "method & parameter naming"

On Mon, 2004-02-23 at 12:35, Kasimier Buchcik wrote:
> Hi,
> 
> My five pence on naming:
> 
> 1. "LSSerializer.parseURI" should be renamed to 
> "LSSerializer.parseFromURI" - analogous to "LSParser.writeToURI"
> (I remember that it was changed from "LSParser.writeURI")

This one seems a bit late to do it but maybe.

> 2. (DOM Level 3) NameList.contains takes a "str", although 
> NameList.contains takes a "name".
> Maby NameList.contains(in DOMString name) would be more adequate here.

The parameter was renamed to match DOMStringList.contains(str),
following an issue brought but the DOM TS effort:
http://www.w3.org/2003/12/22-dom-core-issues/issues.html#curt1

Philippe

Received on Monday, 23 February 2004 14:19:28 UTC