W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2014

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 29 Sep 2014 09:31:18 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23682-3890-WGIlxlCaYO@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23682

Domenic Denicola <domenic@domenicdenicola.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |domenic@domenicdenicola.com

--- Comment #16 from Domenic Denicola <domenic@domenicdenicola.com> ---
Frozen is good *for arrays* because it means immutable.

Immutable things are useful and in many cases important. If we had immutable
maps and sets we would use those. (But we don't.) Since we *do* have immutable
arrays, we should use those. And yes, immutability is achieved for arrays via
Object.freeze, which is not anyone's favorite thing. But that doesn't really
matter.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 29 September 2014 09:31:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:22 UTC