@stefanpenner @jaffathecake did you miss the word "tagged"?
@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... -
@justinfagnani@stefanpenner@domenic@jaffathecake if the rule is "${} has to mean something special" then "no interpolation" qualifies -
@justinfagnani@stefanpenner@domenic@jaffathecake but surely strip` foo bar${interp} baz ` is fine too - 4 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.