W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] executeSql shouldn't have variable length arguments

From: Aaron Boodman <aa@google.com>
Date: Fri, 5 Oct 2007 16:49:48 -0700
Message-ID: <278fd46c0710051649o28f1d433i1bbeae67bb87e516@mail.gmail.com>
Scott just pointed out to me that the current spec has executeSql
taking a variable number of arguments:


We tried this in Gears at first, but learned quickly that it was a
huge pain to work with. Dealing with the arguments collection in
javascript is very painful, so we ended up just passing arrays around
and converting them to the variable length at the last minute.

Summary: variable length arguments seem cute at first, but end up
being more pain that they are worth.

- a
Received on Friday, 5 October 2007 16:49:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:58 UTC