On 9 May 2012 01:32, Brendan Eich <[email protected]> wrote:
> We could indeed put type-reflecting method(s) there but I'm
> loath to add manifest constants. What's wrong with strings?

Depends on the mechanism. If it is supposed to be user-extensible
(i.e. an open set) then strings are bad because there might be clashes
between extensions made by separate libraries. With constants (or
unique names) as denotations no such issue exists.

IOW, strings don't scale well. They are only suitable for closed sets.

/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to