String identity template tag

David Teller dteller at mozilla.com
Wed Dec 12 10:29:51 UTC 2018


Yeah, `String.expand` is the nicest one I've seen so far.

On 12/12/2018 10:05, T.J. Crowder wrote:
> On Wed, Dec 12, 2018 at 6:59 AM Isiah Meadows
> <isiahmeadows at gmail.com> wrote:
>>
>> Those names a little too generic for my liking here. What about
>> `String.expand(template, ...params)`?
> 
> I like it.
> 
>> And also, let's not try to bake a traditional template engine into the
>> JS spec - syntactic template strings already work well enough.
> 
> Agreed.
> 
> -- T.J. Crowder
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 


More information about the es-discuss mailing list