On Thu, Nov 7, 2013 at 4:27 PM, Marius Gundersen <[email protected]>wrote:
> It seems that every (real) usecase for weakRefs, weakMaps and weakSets is > to implement a weak event listener system. > Not true. Even silly. > Unfortunately weak event listeners cannot be implemented with the current > weakSet/weakMap spec, since they are not iterable. > If they were iterable, they would be broken, and fail to solve their actual real use cases. They are not the right tool for the job -- they have nothing to do with weak event listeners. "It seems like the only real use case for email is to make toast. Unfortunately, email can't be used to make toast because it isn't hot enough." -- Text by me above is hereby placed in the public domain Cheers, --MarkM
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

