Symbols, Protocols, Frames, and Versioning

Allen Wirfs-Brock allen at wirfs-brock.com
Thu Oct 4 16:10:52 PDT 2012


On Oct 4, 2012, at 4:02 PM, Brendan Eich wrote:

> Dave had a suggestion for an alternative name to Symbol.intern, it's so obvious in hindsight:
> 
>  public @iterator = Symbol.from('iterator');
> 
> No jargon, perhaps at the price of connoting singleton symbol, but still.

     Symbol.for('iterator')

actually sounds to m a bit closer to the right concept.  

Allen



More information about the es-discuss mailing list