Jason Orendorff wrote:
But from the few data points I have, approximately 100% of web
developers, when they first hear "template strings are in ES6", think
that means something like Mustache in the standard library. Some
initially try to use the feature that way and get frustrated. I expect
widespread confusion on this point.
This.
A function wrapped around a template string, where the function's
parameters occur in embedded expressions, goes a long way. But you have
to write the function, after teaching people the basics and apologizing
for misleading them with the t-word.
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss