On 10/3/2012 4:44 PM, Allen Wirfs-Brock wrote:
(oops, forgot to reply-all)

Begin forwarded message:

*From: *Allen Wirfs-Brock <al...@wirfs-brock.com <mailto:al...@wirfs-brock.com>>
*Date: *October 3, 2012 10:15:57 AM PDT
*To: *Herby Vojc(ík <he...@mailbox.sk <mailto:he...@mailbox.sk>>
*Subject: **Re: Sets plus JSON*

This is one of the reasons that it is important that Set (and Map, etc.) are specified (and implemented) in a manner that makes them fully subclassable. By subclassing, individual use cases for serializing them can be kept distinct rather than multiple libraries or subsystems fighting over who gets control of the single implementation of Set.prototype.toJSON
That doesn't necessarily preclude a logical default, correct?

-N

--
___________________________
Nicholas C. Zakas
http://www.nczonline.net

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to