Specifying template strings

Axel Rauschmayer axel at rauschma.de
Thu Jul 10 08:51:47 PDT 2014


>> Yes, I meant TV and TRV. I’d prefer these names to be longer. The short names are not very self-explanatory and finding their definitions is difficult, too (different chapter!).
>> 
> 
> TV and TRV for the template literal lexical components serve the similar purpose to that of  SV and CV for string literals.  They are intentionally defined using similar formulations and they belong in Chapter 11 because are part of the definition of the lexical mapping of source characters to token values.
> 
> I agree that the naming (this goes all the way back to SV and CV in the first edition) is not ideal and there is at least one bug on file suggesting an alternative restructuring of this part of the specification.  However, it's a relatively low priority cleanup that may end up not getting done for this edition.

Sure, this is definitely in the domain of fine-tuning. IMO, even making them a bit longer would already help.

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140710/33900e78/attachment.html>


More information about the es-discuss mailing list