JS template strings https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings … are shipping in Firefox 34 in two weeks. Can't wait for other browsers to add support too.
-
-
Replying to @really_bz
@bz_moz@theunfocused expression evaluation inside string literals does not give me the langsec warm fuzzies.2 replies 0 retweets 0 likes -
Replying to @elwoz
@elwoz@theunfocused Also, html_escape`a${b}c${d}` which escapes the replacements is better than "a" + html_escape(b) + "c" + html_escape(d)6 replies 0 retweets 0 likes -
Replying to @really_bz
@bz_moz@theunfocused ... all subexpressions are shifted to trailing arguments, but it's equivalently expressive.1 reply 0 retweets 0 likes
Replying to @elwoz
@elwoz @theunfocused But much harder to read. But yes, I sympathize with the concern...
1:03 PM - 13 Nov 2014
0 replies
0 retweets
0 likes
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.