W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

[Bug 16725] Treat omitted dictionary the same as empty dictionary

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 Apr 2012 07:17:44 +0000
To: public-script-coord@w3.org
Message-Id: <E1SMwTw-0003Rv-VE@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16725

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #3 from Jonas Sicking <jonas@sicking.cc> 2012-04-25 07:17:43 UTC ---
If we want this to be consistent across all APIs where dictionaries are used,
then I don't think requiring |optional X x = {}| is a good option since people
will forget to put it in the API.

Given that dictionaries always describe what is essentially a collection of
optional arguments, are there really cases when a dictionary member will be
non-optional?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 25 April 2012 07:17:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC