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

[Bug 22391] Sequence or Array

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Jul 2013 19:54:42 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22391-3890-57K0qg54Z4@http.www.w3.org/Bugs/Public/>

Travis Leithead [MSFT] <travil@microsoft.com> changed:

           What    |Removed                     |Added
                 CC|                            |travil@microsoft.com

--- Comment #2 from Travis Leithead [MSFT] <travil@microsoft.com> ---
I think that [] was going to be able to replace all usages of *List or
*Collection that are preexisting in the DOM (e.g., NodeList, HTMLCollection). 

Are you saying that it's better to just have specific interfaces that describe
their specific behavior, than introduce a generic [] array-type that can handle
all these scenarios?

My guidance to internal teams at Microsoft has always centered around when to
return unique instances per call (use sequence) or singleton objects with
mutating array contents (use [] or *List/*Collection, etc.).

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 10 July 2013 19:54:44 UTC

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