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

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 05 Oct 2014 05:48:17 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23682-3890-Qbo42Lsu1V@http.www.w3.org/Bugs/Public/>

--- Comment #26 from Cameron McCormack <cam@mcc.id.au> ---
As for renaming "sequence" to "iterable", we could do that -- though Boris'
recent changes already make the JS -> IDL conversion for sequence take any
iterable -- but using iterable as a return type would be as confusing as
sequence is now.  If we did that, then we should have a type named Array<T>
which means "reference to an Array object", use that as the return type of
methods that want to return a new array, and have an easy to use "create a new
Array object with these values" term that can be referenced.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Sunday, 5 October 2014 05:48:21 UTC

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