Comments on Sept Meeting Notes

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Sep 27 08:19:28 PDT 2013


On Sep 27, 2013, at 5:24 AM, Mark S. Miller wrote:

> That's fine for an unregistered Symbol, i.e., one created by calling the Symbol constructor. What about a registered Symbol, i.e., one created by calling Symbol.for?

Perhaps, there could be a second optional parameter,
  Symbol.for(keyString, friendlyName)

However, that could be used as a way to determine if the key had already been registered So, if it is important to hide that information the registration key need to be used as the friendly name..







> On Thu, Sep 26, 2013 at 6:03 PM, Brendan Eich <brendan at mozilla.com> wrote:
> Mark S. Miller <mailto:erights at google.com>
> September 26, 2013 6:01 PM
> 
> Hi Yehuda, I think I understand everything on your list except "debugger friendly names". I agree that seeing a GUID in a debugger is unfriendly, and I understand why a debugger would not show a Symbol that way. But how would a debugger show a Symbol? Where does a Symbol's debugger-friendly name come from?
> 
> The actual parameter to the Symbol constructor, converted to string.
> 
> /be
> 
> 
> 
> -- 
>     Cheers,
>     --MarkM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130927/12c54401/attachment.html>


More information about the es-discuss mailing list