Symbols, Protocols, Frames, and Versioning
dean at deanlandolt.com
Thu Oct 4 14:54:44 PDT 2012
On Thu, Oct 4, 2012 at 3:24 PM, Brendan Eich <brendan at mozilla.com> wrote:
> Dean Landolt wrote:
> On Thu, Oct 4, 2012 at 2:51 PM, Brendan Eich <brendan at mozilla.com<mailto:
>> brendan at mozilla.com>> wrote:
>> Urgh, namespace is misleading, it suggests Common Lisp's symbol
>> packages, the AS3/ES4 namespaces, XML namespaces. Here, @iterator
>> is not a prefix or part of a pair, or set-of-symbols. It's just a
>> symbol you can find from a string.
>> I admit the historical baggage may be too much to shake but what we're
>> talking about here is quite precisely a namespace :)
> I don't think so, but definitions vary. Could you cite a source for yours?
I just meant in the literal sense: a "namespace" is just a string key
space. Using symbols as interned strings allows you to add any number of
"namespaces" to an object, including some language-defined "system"
namespace. And this is what we're after, isn't it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss