Symbols, Protocols, Frames, and Versioning

Brendan Eich brendan at mozilla.com
Thu Oct 4 22:04:47 PDT 2012


Kevin Smith wrote:
>
>     Yes, that's the intent.
>
>
> And the strings supplied to Symbol.for/from form a single namespace 
> across the entire executing environment?

Across the observably connected realms. Independent window/frame graphs 
that are disconnected, no need or way to tell.

> So if an author wanted to guarantee no conflicts, they would need to 
> use a suitable globally unique string (like a uuid or reverse DNS 
> name, or something else of their choice)?

Something like that, in general.

A particular set of related scripts might make simplifying assumptions.

/be


More information about the es-discuss mailing list