Not sure that something better than “template string” exists. It would have to 
be something that describes the construct well: It is an interesting hybrid 
between a literal (such as a regular expression) and a function call.

On Aug 3, 2012, at 23:38 , Allen Wirfs-Brock <[email protected]> wrote:

>> So switching to "template strings" is a good idea. We do need to communicate 
>> that they are not limited to strings, though: template parameters and tag 
>> results can be
>> arbitrary ES objects/values.
> 
> I chose "template string" over "string template"  to emphasize that it was a 
> template that was expressed as a string rather than a template for a string.  
> That may be too subtle of a distinction.  At the TC39 there were some 
> concerns that simply "template" was too general and might cause confusion 
> relative to other templating mechanism. 

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

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

Reply via email to