Symbols, Protocols, Frames, and Versioning
khs4473 at gmail.com
Thu Oct 4 10:01:28 PDT 2012
> Dave Herman mentioned another idea: intern'ing strings as symbols. You'd
> lose uniqueness but avoid colliding with any string. So
> public @iterator = Symbol.intern('iterator');
> Is this much better than just using 'iterator' or dunder-iterator?
Apologies, but what would interning a string as a symbol mean?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss