Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upConsider allowing template literals as a default #626
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks for the suggestion. That's an interesting blog post. Whenever there are multiple ways of doing something in JS, So, what about making backticks (`) the default over single quotes (')? That's hugely disruptive and don't see it ever happening. But before that could even be considered, ES6 would need to be so widely adopted that there's no need for a transpiler in 95% of browsers. Because we can't add a rule that effectively mandates that people use babel in their codebases. Hope this makes sense! I'm going to close this, but feel free to continue discussion. |
feross
closed this
Sep 15, 2016
This comment has been minimized.
This comment has been minimized.
|
I love the idea, but you're right, its just not practical.... yet. |
jescalan commentedSep 15, 2016
Ref: https://ponyfoo.com/articles/template-literals-strictly-better-strings
Right now, if you use a template literal without interpolation, it's an error.