Anyone going full time backticks in JS? I feel like it makes sense to just use backticks by default
-
Show this thread
-
Lots of opinions on either side. I've summed it up here. I think I'm going to start using back ticks for all strings. Don't @ mepic.twitter.com/Uhyrq2XXeN
22 replies 34 retweets 218 likesShow this thread -
Wes Bos Retweeted
Some notes on the perf: 1. `straight` non-interpolated 'strings' are neck-in-neck → https://twitter.com/shellscape/status/1107712652204220418 … 2. If it really is a perf issue, use babel to transpile to concatenation
Wes Bos added,
This Tweet is unavailable.3 replies 1 retweet 29 likesShow this thread -
Replying to @wesbos
"2. If it really is a perf issue, use babel to transpile to concatenation" Even better would be to: - install jsvu - write a small benchmark that demonstrates the issue in whatever engines have it - file bugs against those engines Performance cliffs get fixed fast.
1 reply 0 retweets 3 likes
+1. Perf should not be an issue.
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.