Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I’ve thought about it. If backticks had a dedicated keyboard like, like single quotes, I’d probably do it
-
I don't, just because some transpiler or browser compiler may add extra instructions that aren't needed. That won't happen with syntax that conveys the intent deliberately.
-
Tempting but that little tick is in no man's land on my keyboard compared to quotes.
-
TjasPRG334yAm I the only one that thinks that's cursed? 😂 Seriously though, don't some languages make escaping certain caracters harder (by forcing you to "double escape" or just outright terminate the literal and concatenate a "regular" string) when using backticks?
EDIT: Also no IE support for JS template literals. Not that I care, just something worth mentioning
Who else uses template strings by default?
question
javascript
template literal