Array#sort() implementations not interoperable
samth at ccs.neu.edu
Fri Jun 14 07:00:58 PDT 2013
On Fri, Jun 14, 2013 at 9:43 AM, Andreas Rossberg <rossberg at google.com> wrote:
> On 14 June 2013 14:11, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:
>> On Fri, Jun 14, 2013 at 4:30 AM, Andreas Rossberg <rossberg at google.com> wrote:
>>> I don't see much of a use case for an array with getters, let alone
>>> sorting a proxy. So the practical gain seems negligible.
>> Sorting an array with a contract  seems pretty useful to me.
> Perhaps, but useful enough to justify burdening 'sort' with extra
> complexity and cost?
I don't think we should change the specification for `sort` for this
use case, just that we should remember that proxies can be useful
basically everywhere that any kind of data is useful.
More information about the es-discuss