@stefanpenner @jaffathecake this is definitely not the intent of tagged template strings.
@domenic @stefanpenner @jaffathecake just want to make sure I understand... you're telling me we should do hbs(`...`) vs. hbs`...`?
-
-
@wycats@stefanpenner@jaffathecake not sure about hbs but the tag that started this thread just concated its arguments. Would the hbs tag? -
@domenic@stefanpenner@jaffathecake it compiles the template, ahead of time if possible. -
@wycats@stefanpenner@jaffathecake can you just compile normal strings, without component-wise processing? Then use a string-taking func. -
@wycats@stefanpenner As@jaffathecake said, the impulse "I have a function with a single string argument! Let's use tagged templates!" > -
@wycats@stefanpenner@jaffathecake > is similar to the "I have a method that takes no arguments! Let's use a getter!" misguided path. -
@wycats@stefanpenner@jaffathecake The "logic" in both cases is very similar, e.g. "easier to scan" and so on. -
@domenic@stefanpenner@jaffathecake I think I'm just missing what you believe is the platonic essence of template literals. -
@wycats@stefanpenner I keep seeing@domenic and@jaffathecake try to clarify that they're referring to _tagged_ templates... - 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.