W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2013

Re: [Future] First arguments should not be optional

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 8 May 2013 12:44:40 -0700
Message-ID: <CA+c2ei8m9-nzeLr9u2_XF-xz+S7_+bG-qG6Srq5Nb6NqpuJHVg@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: Mounir Lamouri <mounir@lamouri.fr>, "www-dom@w3.org" <www-dom@w3.org>
On Wed, May 8, 2013 at 11:02 AM, Domenic Denicola
<domenic@domenicdenicola.com> wrote:
> Finally, I think the correct behavior is to ignore non-Callables, instead of throwing.

Out of curiosity, why do you prefer that behavior? As an author I
would feel that it's pretty hostile for an API to simply ignore what I
requested, rather than letting me know through a thrown exception.

/ Jonas
Received on Wednesday, 8 May 2013 19:45:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:20 UTC