W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: [whatwg] WebIDL and HTML5

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 27 Aug 2008 17:39:43 -0400
Message-ID: <48B5C99F.2080906@mit.edu>
To: Garrett Smith <dhtmlkitchen@gmail.com>
CC: Web Applications Working Group WG <public-webapps@w3.org>

Garrett Smith wrote:
> Given that, I suggest moving forward:
>   Test, then document those methods as having special behavior. Do
> this not by a null->value mapping, but by documenting the method's
> algorithm in simple terms. e.g. "if X is not a string, throw an error"

But giving a (per-method) mapping means that the algorithm can then be 
machine-generated from the IDL, which is an interoperability win: less 
chance of a mistake being made.

So why are you opposed to having such per-method mappings, as needed?

-Boris
Received on Wednesday, 27 August 2008 21:40:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT