Dean Landolt (2013-07-29T22:49:53.000Z)
domenic at domenicdenicola.com (2013-08-02T20:07:32.903Z)
On Mon, Jul 29, 2013 at 4:29 PM, Brendan Eich <brendan at mozilla.com> wrote: > More recently, Jason implemented 'iterator' for two reasons, I think: 1, > lack of symbol spec of implementation as prerequisite; 2, belief that a > public name was better. Jason argued that case here, but I don't think he > prevailed (Dean Landolt disagreed). FWIW Jason convinced me in the end -- I was subtly misinterpreting the spec. I still believe symbols (or something like them) are really important, just not necessarily for iterators. I'd also like to echo the sentiment in favor of private symbols. Unique symbols really don't offer much over GUIDs, and don't make a whole lot of sense in a world without private symbols. And in a world with private symbols unique symbols aren't strictly necessary. I don't fully grok the relationships strawman yet but it looks really promising. I wonder what a *maximally minimal* version of it might look like -- if it could be stripped down enough to just accommodate the needs of the es6 spec. while remaining palatable and leaving the door to private symbols open? Anything to avoid GUIDs. I'd bet most everyone would concede they're are a smell, an es-regret waiting to happen :)