W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2015

[Bug 23682] Fix the current [ArrayClass], [] and sequence<T> mess

From: <bugzilla@jessica.w3.org>
Date: Sat, 17 Jan 2015 18:18:42 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23682-3890-2duLYhit7L@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23682

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch

--- Comment #34 from Ian 'Hixie' Hickson <ian@hixie.ch> ---
I strongly dislike frozen objects in APIs. Right now we consistently allow any
object returned in any API to have random properties added. Introducing frozen
objects would suddenly introduce a whole class of APIs where authors can't do
that. That's bad API design, IMHO.

In general, I think consistency amongst APIs is more important than how
perfectly designed any one API is. We should just keep using the same imperfect
design patterns that have been used for years, instead of changing our API
design strategy every 3 years.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 17 January 2015 18:18:45 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 17 January 2015 18:18:46 UTC